Subject: Re: pkg/24188: A utility for removing leaf packages
To: NetBSD GNATS submissions and followups <gnats-bugs@gnats.netbsd.org>
From: Daniel Carosone <dan@geek.com.au>
List: netbsd-bugs
Date: 01/24/2004 07:33:31
--VkVuOCYP9O7H3CXI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

Almost - it works fine for recorded dependencies, but there are also
build dependencies (stuff like libtool or gmake) that sometimes you
don't want hanging around. There's also the case of pkgs that were
dependencies for earlier versions of this pkg, but no more, and which
didn't get cleaned out by "make update".

The doc fix is a good idea, regardless.

To the original poster: have you seen pkgtools/pkgdepgraph? It's very
handy for visualising this stuff.

--
Dan.
--VkVuOCYP9O7H3CXI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAEYUbEAVxvV4N66cRAgmkAJ9WpoLa99JXdsJd0WH/YMrmr1cPOgCeJMyo
X0LI87R5+MriDKkSnJXJp5M=
=RgX4
-----END PGP SIGNATURE-----

--VkVuOCYP9O7H3CXI--