how get "/var/db/pkg"?

Robert Huff roberthuff at rcn.com
Wed May 3 14:18:44 UTC 2006


xiang writes:

>  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.
>
>  how can i do now?

	If you have deleted all contents of /var/db/pkg, and you don't
have a backup, you're screwed.  You'll have to reinstall every to
rebuild the db.
	If, however, you just deleted pkgdb.db then "pkgdb -U" will
repopulate it.


				Robert Huff



More information about the freebsd-questions mailing list