How to list installed ports that have no dependant ports

Adam blueeskimo at gmx.net
Sat Apr 5 15:19:59 PST 2003


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 at gmx.net>



More information about the freebsd-questions mailing list