#36126: Registry DB error - update failure -------------------------+-------------------------------- Reporter: meng.uom@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by pixilla@…): I have had some luck in the past open the db with sqlite and letting it repair what it knows how to repair. This has worked for me in the past: {{{ $ sudo sqlite3 /opt/local/var/macports/registry/registry.db SQLite version 3.7.14 2012-09-03 15:42:36 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> .quit $ }}} -- Ticket URL: <https://trac.macports.org/ticket/36126#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS