Lost /var/db/pkg

jb jb.1234abcd at gmail.com
Wed Jun 13 21:18:13 UTC 2012

William Orr <will <at> worrbase.com> writes:

> Hello,
> I had a hard disk failure some time ago, and I ended up losing
> /var/db/pkg/ and everything under it (before you say I should've been
> backing it up, I know, I was actually doing an initial full when this
> happened). Is there a way I can restore it, or at least manually add
> entries I know for sure about?

"The application themselves are still installed and will keep functioning, you
just removed the records of their installation. When you later install newer
versions, you may have to use a force flag to overwrite files (the port thinks
it is uninstalled after all). The new port installations will get recorded in
/var/db/pkg again.'


More information about the freebsd-questions mailing list