Date: Sun, 26 Feb 2006 18:52:27 +0000 From: RW <list-freebsd-2004@morbius.sent.com> To: freebsd-ports@freebsd.org Subject: Re: Remove a Port and All Dependencies Message-ID: <200602261852.29340.list-freebsd-2004@morbius.sent.com> In-Reply-To: <43FFC282.5090601@freebsd.org> References: <20060225022934.87508.qmail@web60023.mail.yahoo.com> <43FFC282.5090601@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 25 February 2006 02:35, Aaron Dalton wrote: > Peter wrote: > > Wouldn't this remove all ports that depend on the port in question (its > > dependants)? The OP wants to remove all ports that are *required* by the > > port (its dependencies). But furthermore, he wants to remove those that > > AREN'T NEEDED BY ANY OTHER PORTS. > > pkg_deinstall won't remove ports that are required by other ports. > pkg_deinstalling a Perl (p5-) port, for example, won't forcefully > deinstall lang/perl itself (unless you're removing the very last port > that requires lang/perl). You have to be a little careful there. As I understand it that protection relies on a self-consistent package database. You don't notice this if you use portupgrade because it needs the same self consistency to function and massages the dependencies (or refuses to do anything until you fix them manually) Whilst portmanager can leave behind these dependency mismatches (when you don't fully update your ports), it's own leaf-deletion option doesn't seem to be thrown by them.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602261852.29340.list-freebsd-2004>