Subject: Re: pkg/24188: A utility for removing leaf packages
To: None <>
From: Roman Kennke <>
List: netbsd-bugs
Date: 01/25/2004 11:19:43
> On Fri, Jan 23, 2004 at 03:42:53AM -0500, Greg A. Woods wrote:
>> Try using "pkg_delete -R" when you remove packages that may depend on
>> other packages.
> To the original poster: have you seen pkgtools/pkgdepgraph? It's very
> handy for visualising this stuff.

Yes, it's nice. But a tool which tracks the packages I really wanted to
install and then automatically deletes packages which are not needed seems
reasonable to me. I have made a change to my program, so that it records
the packages I want (i.e. gnome2 gimp emacs blablabla) so that it does not
always ask about them, and for all other 'leaf' packages in the dependency
graph it asks if that should also be kept. If you say 'y', then this
packages is also recorded, 'n' removes the package, 's' skips it (no
delete, no record -> ask again next time), 'i' shows info about the
package (DESCR). It's very handy I think. I'll post it, when it's ready.
Cheers, Roman