Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2004 13:30:26 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        Jari Kirma <kirma@cs.hut.fi>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Garbage collection of installed packages
Message-ID:  <20040426113026.GA23138@lori.mine.nu>
In-Reply-To: <Pine.GSO.4.58.0404261356200.24624@hutcs.cs.hut.fi>
References:  <Pine.GSO.4.58.0404261356200.24624@hutcs.cs.hut.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
I use this script to find packages which are NOT dependencies of other
packages: 

#/bin/sh
cd /var/db/pkg
for i in * ; do [ -e ${i}/+REQUIRED_BY ] || echo ${i} ; done

This way you also see the packages which you installed expicitly (most
of them are not depended on by other packages either), but I suppose
you know/recognize those.  

GH



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