how get "/var/db/pkg"?

Björn König bkoenig at cs.tu-berlin.de
Wed May 3 06:00:29 UTC 2006


xiang schrieb:
> Today,i run "pkgdb -F",but get a error message:"you do not own
> /var/db/pkg",becouse i had delete /var/db/pkg by oversight just the other
> day.
> and i install som ports by "pkg_add" just now, then i can get
> /var/db/pkg,but only a record of few ports in /var/db/pkg.
> As a result,It do not show all ports that had installed in my machine 
> when i
> run "pkg_info" or "pkg_version".and i do not use "portupgrade" upgrade all
> ports!
> how can i do now?

I think you can't do nothing except reinstalling your software unless 
you have a backup of your old /var/db/pkg.

Regards
Björn


More information about the freebsd-questions mailing list