How to recover a corrupt darwinports db

Bob Harris me13013 at
Wed Feb 21 06:31:06 PST 2007

Elias wrote:
> > to make sure the port is no longer "installed":
> >     sudo port uninstall -f hugs98
> > to make sure it is redownloaded (whatever reason for):
> >       sudo port clean --all hugs98
> in case you've removed directories from /opt/local/var ...
>     sudo port sync

Thanks.  That is apparently the right mojo.  I have now done sync,
uninstall (which still failed, but that's seems reasonable), and
clean.  Now I am installing again and it seems to be working.

Thanks very much!
Bob H

More information about the macports-users mailing list