You might checkout this repair script: http://trac.macports.org/wiki/ProblemHotlist#corruptdatabase
On Oct 14, 2014, at 16:56, Robert Broome <robert.bro...@softhome.net> 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? _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users