On Tue, Aug 4, 2009 at 11:20 AM, Bret S. Lambert<bret.lamb...@gmail.com> wrote: > On Tue, Aug 04, 2009 at 11:11:17AM -0400, Luis Useche wrote: >> Hello Guys, >> >> I was wondering if there is some tool that delete the packages >> specified along with their "deletable" dependencies. Deletable means >> packages that pkg_add added automatically (as dependencies of the >> installed one) and are not dependency of another package. This will >> ensure (in most of the cases) that you don't end up with a system with >> unnecessary packages. >> >> I couldn't find in pkg_delete(1) any option that implements the >> previous semantic. >> > > pkg_delete `pkg_info -t` will almost do what you're looking for ;)
The problem with this command is that it will remove packages installed for the end user. In my case, for instance, "pkg_info -t" list zsh, vim, subversion and other. Luis Useche use...@gmail.com