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

MacPorts noreply at macports.org
Thu Sep 13 10:52:02 PDT 2012


#36126: Registry DB error - update failure
-------------------------+--------------------------------
  Reporter:  meng.uom@…  |      Owner:  macports-tickets@…
      Type:  update      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.1.2
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  update failure =>
 * component:  ports => base
 * port:  registry DB =>


Old description:

> 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.

New description:

 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#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list