From owner-freebsd-questions@FreeBSD.ORG Thu May 25 23:22:08 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 DD16116B6DB for ; Thu, 25 May 2006 23:22:08 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C9843D6A for ; Thu, 25 May 2006 23:22:07 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-102-190.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.102.190]) by smtp01.lnh.mail.rcn.net with ESMTP; 25 May 2006 19:23:11 -0400 X-IronPort-AV: i="4.05,173,1146456000"; d="scan'208"; a="211512344:sNHT5502491500" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17526.15287.919244.548666@jerusalem.litteratus.org> Date: Thu, 25 May 2006 19:20:23 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <200605251755.55461.rar102@ra.msstate.edu> References: <200605251755.55461.rar102@ra.msstate.edu> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid Subject: Rebuilding /var/db/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, 25 May 2006 23:22:10 -0000 Robertsen A. Riehle writes: > Say that the /var/db/pkg directory had been recursively erased > off of a workstation that had ~300 packages on it. And, let's > hypothetically say that this workstation's ports tree was up to > date as of yesterday. Is there any hope of rectifying this or is > this workstation is a static ports state forever??? 1) Is there no back-up? 2) Unless you clear it regularly, look in /usr/ports/distfiles. On my system, I'd also check pkgtools.conf. Start with things with a lot of dependencies (OpenOffice, Mozilla, KDE/gnome, Java, Emacs, etc.) and reinstall by hand. Robert Huff