Broken port tree: how to repair ?

Ash omniBSD at speakeasy.net
Sun Apr 10 16:08:39 PDT 2005


Xavier Maillard wrote:
> 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.

You can cvsup your ports tree to bring it up to date:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

(yes this will work even if you've deleted your whole tree)

-ash


More information about the freebsd-questions mailing list