database install point-no destroot

Jeremy Lavergne jeremy at
Tue Oct 14 14:00:05 PDT 2014

You might checkout this repair script:

On Oct 14, 2014, at 16:56, Robert Broome <robert.broome at> wrote:

> A crash or disk error at the wrong time (and place) could explain much. The more interesting question is how to rebuild the database without having to reinstall all ports!
> Robert: your best bet may be to restore the latest snapshot from *before* your last selfupdate from a TimeMachine (or other) backup, and try again from there.
> If all else fails you can try a `port installed requested` and reinstall from scratch following the same instructions that also apply for upgrading MacPorts after an OS upgrade. That is, if your database is not so damaged that it can no longer provide the list of ports you installed explicitly ...
> R.
> I am looking for the database that needs to be restored. I found this:
> /opt/local/var/macports/registry/registry/db
> is that the one that I should restore? 

More information about the macports-users mailing list