Date: Thu, 25 May 2006 20:03:08 -0400 From: John Nielsen <lists@jnielsen.net> To: Robert Huff <roberthuff@rcn.com> Cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding /var/db/pkg Message-ID: <20060525200308.ov3zgj80wgk48044@newwebmail.jnielsen.net> In-Reply-To: <17526.15287.919244.548666@jerusalem.litteratus.org> References: <200605251755.55461.rar102@ra.msstate.edu> <17526.15287.919244.548666@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Robert Huff <roberthuff@rcn.com>: > > 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. Also if you act before the weekly(?) periodic script rebuilds the locate database, you could use the output of "locate /var/db/pkg" to help you determine what was there. JN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060525200308.ov3zgj80wgk48044>