Robert Huff wrote:
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
If you haven't run locate since you delete /var/db/pkg you could run:
locate "/var/db/pkg"
This will at least give you a partial (maybe a full) listing of
everything you have installed. From there you could do a script that
does something like:
for $program in <fileofpackagenames>
pkg_delete $program
pkg_add $program
Just a thought....
-Tom Grove
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"