Date: Tue, 3 Jun 2003 20:26:18 -0500 From: kitsune <kitsune@gmx.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Listing installed ports without any ports dependent on it Message-ID: <20030603202618.5528adff.kitsune@gmx.co.uk> In-Reply-To: <1054590763.16970.5.camel@jake> References: <1054590763.16970.5.camel@jake>
next in thread | previous in thread | raw e-mail | index | archive | help
cd /var/db/pkg/ ls On 02 Jun 2003 17:52:43 -0400 Adam <blueeskimo@gmx.net> wrote: > What I need to do is this: > > For each installed port that has NO other installed ports dependent on > it, output the full name of the port > > In other words, I want a script to generate the list of ports that can > be deinstalled without forcing (-f). > > A few months ago a guy posted a python script to this mailing list that > did this, but I've since lost the script and it's too long ago for any > of the online archives. > > If you're the nice guy that shared this script before, would you mind > sharing it again? Or, does someone else have a script to do this? I > remember it requiring a bit of cleverness to get it to work nicely. > > Thanks, > -- > Adam <blueeskimo@gmx.net> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030603202618.5528adff.kitsune>