From owner-freebsd-current@FreeBSD.ORG Tue Jun 22 08:45:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F17BE16A4CE for ; Tue, 22 Jun 2004 08:45:09 +0000 (GMT) Received: from tx3.oucs.ox.ac.uk (tx3.oucs.ox.ac.uk [163.1.2.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79E9B43D5A for ; Tue, 22 Jun 2004 08:45:09 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from scan3.oucs.ox.ac.uk ([163.1.2.166] helo=localhost) by tx3.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1Bcgtw-0001oh-O3 for current@freebsd.org; Tue, 22 Jun 2004 09:45:08 +0100 Received: from rx3.oucs.ox.ac.uk ([163.1.2.165]) by localhost (scan3.oucs.ox.ac.uk [163.1.2.166]) (amavisd-new, port 25) with ESMTP id 06675-10 for ; Tue, 22 Jun 2004 09:45:08 +0100 (BST) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx3.oucs.ox.ac.uk with smtp (Exim 4.24) id 1Bcgtw-0001ob-Ae for current@freebsd.org; Tue, 22 Jun 2004 09:45:08 +0100 Received: (qmail 17776 invoked by uid 1004); 22 Jun 2004 08:45:08 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.20 (clamscan: 0.67. sweep: 2.18/3.79. Clear:RC:1(163.1.161.131):. Processed in 0.038303 secs); 22 Jun 2004 08:45:08 -0000 Received: from dhcp1131.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.131) by gateway.wadham.ox.ac.uk with SMTP; 22 Jun 2004 08:45:08 -0000 Message-Id: <6.1.0.6.1.20040622092924.03c89538@popserver.sfu.ca> X-Sender: cperciva@popserver.sfu.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Tue, 22 Jun 2004 09:45:05 +0100 To: Stephan van Beerschoten From: Colin Percival In-Reply-To: <20040622082339.GB8087@enigma.whacky.net> References: <20040622082339.GB8087@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: current@freebsd.org Subject: Re: "Maintaining your installation" question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 08:45:10 -0000 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