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

next in thread | previous in thread | raw e-mail | index | archive | help
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



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