From owner-freebsd-questions@FreeBSD.ORG Thu Oct 11 22:16:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC43E16A417 for ; Thu, 11 Oct 2007 22:16:06 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9926F13C47E for ; Thu, 11 Oct 2007 22:16:06 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 11 Oct 2007 18:15:06 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id NWT65297; Thu, 11 Oct 2007 18:15:05 -0400 (EDT) Received: from unknown (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.26.179]) by smtp01.lnh.mail.rcn.net with ESMTP; 11 Oct 2007 18:15:49 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18190.41045.40653.528498@jerusalem.litteratus.org> Date: Thu, 11 Oct 2007 18:14:45 -0400 To: freebsd-questions In-Reply-To: <1192138145.33933.21.camel@secretariat.lanl.gov> References: <1192134379.33933.9.camel@secretariat.lanl.gov> <470E8D3A.8010508@daleco.biz> <1192136857.33933.18.camel@secretariat.lanl.gov> <20071011211317.GA24658@owl.midgard.homeip.net> <1192138145.33933.21.camel@secretariat.lanl.gov> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: I performed an rm -r on /var/lib/pkg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 22:16:07 -0000 James writes: > What has happened, though, is I've never ran rm in > /usr/ports/distfiles. I'm going to think for a little bit about > a script that can move through /usr/ports/distfiles and reinstall > everything that exists there. Having been in almost the identical situation for different rasons, I sympathize. Yes, this will involve a sweep through /usr/ports distfiles. If you haven't ever deleted anything, I suggest a prelimiary manual run deleting everything but the most recent version. This has a down-side, but it will prevent cluttering the rebuilt system with unused ports. The other thing you want do is start with something /big/ - OpenOffice, FireFox, GIMP, Java, Apache. While rebuilding it will take time (possibly days) it will automatically suck in the dependencies. Send the output of the rebuild to a file; have a cron job e-mail you the last 50 lines every hour. Robert Huff