[MacPorts] #36126: Registry DB error - update failure

MacPorts noreply at macports.org
Thu Sep 13 07:01:49 PDT 2012


#36126: Registry DB error - update failure
----------------------------+--------------------------------
 Reporter:  meng.uom@…      |      Owner:  macports-tickets@…
     Type:  update          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.1.2
 Keywords:  update failure  |       Port:  registry DB
----------------------------+--------------------------------
 Hi, I wanted to update macports today, but got the following error
 message:
 {
 sqlite error: database disk image is malformed (11) while executing query:
 ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry
     while executing
 "registry::open $db_path"
     (procedure "mportinit" line 633)
     invoked from within
 "mportinit ui_options global_options global_variations"
 Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error:
 database disk image is malformed (11) while executing query: ATTACH
 DATABASE '/opt/local/var/macports/registry/registry.db' AS registry
 }

 Is there any way to fix this issue?

 Many thanks. :D

 Sofia.

-- 
Ticket URL: <https://trac.macports.org/ticket/36126>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list