On Tue, Aug 4, 2009 at 11:32 AM, neal hogan<n...@lambdaserver.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. > > I'm unclear as to why 'pkg_delete -F dependencies' doesn't do what you want? > > from man pkg_delete: > > -F dependencies also delete the whole set of package that depends upon the requested packages. >
>From the "-F dependencies" option I understand that pkg_delete will remove all the packages that depend on the listed package. For instance, if you run: "pkg_delete -F dependencies xpdf-utils", it will remove xpdf as well. Luis Useche use...@gmail.com