Rebuilding /var/db/pkg

Kris Kennaway kris at obsecurity.org
Thu May 25 16:16:36 PDT 2006


On Thu, May 25, 2006 at 05:55:55PM -0500, Robertsen A. Riehle wrote:
> 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???

There is not (unless you go through by hand and figure out what was
installed), this is why backups are necessary.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060525/f935ba7c/attachment.pgp


More information about the freebsd-questions mailing list