Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 09:45:05 +0100
From:      Colin Percival <colin.percival@wadham.ox.ac.uk>
To:        Stephan van Beerschoten <stephanb@whacky.net>
Cc:        current@freebsd.org
Subject:   Re: "Maintaining your installation" question
Message-ID:  <6.1.0.6.1.20040622092924.03c89538@popserver.sfu.ca>
In-Reply-To: <20040622082339.GB8087@enigma.whacky.net>
References:  <20040622082339.GB8087@enigma.whacky.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 09:23 22/06/2004, Stephan van Beerschoten wrote:
>Is there a 'best practice' for getting rid of leftover 'old stuff': libs
>binaries and files as well as (just for example) any updated perl or any
>old doc files? 

  It's not an ideal solution, but at least for releases
fetch -o - http://update.daemonology.net/${VERSION}/md5all | cut -f 1 -d '$' | uniq
will give you a list of all the files which belong in the base system.
Combine that with the output of `pkg_info -aqL`, and you'll have a
fairly complete list of what belongs on the system.

Colin Percival




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