Deleted /var/db/pkg

nikolaj.thygesen at diamondbox.dk nikolaj.thygesen at diamondbox.dk
Tue Sep 18 05:31:19 PDT 2007


Hi list,

    Suppose you deleted /var/db/pkg by accident :( What would you do to
get it back??
    I started out trying to recreate the xorg port (make install), but
being a meta port and only checking for the existance of certain files
it doesn't rebuild much. Doing my experiments I have even managed to
mess up my existing previously working xorg installation. I did a
"make install" of one port which in combination with a number of
"pkgdb -F" cmd lines has rebuilt ~150 "stale dependencies" so far, but
I'm not sure how to go about stuff like gnome2, also I have the
feeling that cvsup'ing right now would be a bad idea - right??
    I would kill for an undelete cmd :)

    br - Nikolaj Thygesen



More information about the freebsd-questions mailing list