Skip site navigation (1)Skip section navigation (2)
Date:      05 Apr 2003 18:19:49 -0500
From:      Adam <blueeskimo@gmx.net>
To:        Mike Meyer <mwm@mired.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to list installed ports that have no dependant ports
Message-ID:  <1049584789.91991.32.camel@jake>
In-Reply-To: <16015.24559.667912.675361@guru.mired.org>
References:  <1049438180.27963.60.camel@jake> <1049582306.91991.30.camel@jake> <16015.24559.667912.675361@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2003-04-05 at 17:59, Mike Meyer wrote:

> Here's a simple python script for you. You'll need python 2.2 if you
> haven't got it already. Feed it the output of "pkg_info -a -R" on
> standard in, and it'll output the package names of all packages that
> aren't required by other packages.
> 
> Don't forget that you may have packages which are only required by
> packages that you don't want, so you need to iterate over the deletion
> process multiple times.

Thanks, the script works great .. I'll be making heavy use of this .. ;p

-- 
Adam <blueeskimo@gmx.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1049584789.91991.32.camel>