Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2006 19:20:23 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-questions@freebsd.org
Subject:   Rebuilding /var/db/pkg
Message-ID:  <17526.15287.919244.548666@jerusalem.litteratus.org>
In-Reply-To: <200605251755.55461.rar102@ra.msstate.edu>
References:  <200605251755.55461.rar102@ra.msstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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