From owner-freebsd-questions@FreeBSD.ORG Thu Nov 2 15:29:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AE9A16A403 for ; Thu, 2 Nov 2006 15:29:26 +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 27BA543D7E for ; Thu, 2 Nov 2006 15:29:22 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 02 Nov 2006 10:29:23 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MLT51402; Thu, 2 Nov 2006 10:29:14 -0500 (EST) Received: from 209-6-203-219.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.219]) by smtp01.lnh.mail.rcn.net with ESMTP; 02 Nov 2006 10:29:13 -0500 X-IronPort-AV: i="4.09,380,1157342400"; d="scan'208"; a="305050837:sNHT121149888" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17738.3589.181431.82582@jerusalem.litteratus.org> Date: Thu, 2 Nov 2006 10:25:57 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <454A0699.2000904@computer.org> References: <1162399232.4866.25.camel@ugly> <4548D3DC.3060902@orchid.homeunix.org> <454A0699.2000904@computer.org> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=35/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=suspect(0), refid=str=0001.0A090209.454A0E72.00DA,ss=2,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.121/2006-09-27 Subject: Re: /var corrupted..... 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, 02 Nov 2006 15:29:26 -0000 Eric Schuele writes: > How can I force a reinstall of a port and all its deps. The port itself will handle anything "above". As for things "below" ... you're pretty much hosed. If the pkg db (or equivalent) existed, it would know which ports had been installed and could rebuild things. Without the pkg db, the only record of what _should_ be installed is in your head. On the other hand, if you remeber certain leaf ports installing them will drag in most of the infrastructure. (My candidates: OpenOffice, Firefox, Apache, something involving Java. GIMP.) It will still take time, but within limits you can just let it run. A scenario for the future: my /var/db/pkg has ~620 entries, and totals just over 62mb. Building a tarball took less than a minute and ate another 60mb. Might be a sound investment. Robert Huff