Garbage collection of installed packages
Jari Kirma
kirma at cs.hut.fi
Mon Apr 26 04:54:16 PDT 2004
On Mon, 26 Apr 2004, Geert Hendrickx wrote:
> 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.
Yes, this is what I already know... but in systems for set of couple
thousand users that have very divergent needs, it's not actually that easy
to remember which of those thousand packages are installed explicitly and
which as dependencies. :]
-kirma
More information about the freebsd-questions
mailing list