Broken port tree: how to repair ?

Bachelier Vincent vincent_bachelier at yahoo.fr
Sun Apr 10 16:13:29 PDT 2005


delete /var/db/pkg/pkgdb.db
do a cvsup of your port tree ...
do a "make fetchindex" under /usr/ports
now, check portversion -l'<'
it should reconstruct everything


Le Lundi 11 Avril 2005 00:02, Xavier Maillard a écrit :
> Hello,
>
> I had a problem of corrupted database and I did a big mistake: I
> incidentally deleted my port tree instead of the database.
>
> Now I have big troubles whenever I want to upgrade/install any
> new port.
>
> Is there any way to fix this ?
>
> Thank you.


More information about the freebsd-questions mailing list