Rebuilding /var/db/pkg
Robert Huff
roberthuff at rcn.com
Thu May 25 16:22:10 PDT 2006
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
More information about the freebsd-questions
mailing list