[MacPorts] #31072: macports base - registry failure blocks all port commands

MacPorts noreply at macports.org
Thu Sep 1 16:03:54 PDT 2011


#31072: macports base - registry failure blocks all port commands
-------------------------------------+--------------------------------------
 Reporter:  newenglishman@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  base                     |     Version:  2.0.2                                
 Keywords:  registry                 |        Port:                                       
-------------------------------------+--------------------------------------
 I am unable to execute any macports commands (including
 "port help" and "sudo port selfupdate"). Each time I run any command, with
 or without sudo, I get this error.

 {{{
 Warning: Converting your registry to sqlite format, this might take a
 while...
 DEBUG: can't read "props(files)": no such element in array
     while executing
 "$regref map $props(files)"
     invoked from within
 "registry::write {
         set regref [registry::entry create $props(name) $props(version)
 $props(revision) $props(variants) $props(epoch)]
         $re..."
     (procedure "receipt_sqlite::create_entry_l" line 3)
     invoked from within
 "receipt_sqlite::create_entry_l $proplist"
     (procedure "registry::convert_to_sqlite" line 62)
     invoked from within
 "registry::convert_to_sqlite"
 Failed to convert your registry to sqlite!
     while executing
 "error "Failed to convert your registry to sqlite!""
     (procedure "mportinit" line 561)
     invoked from within
 "mportinit ui_options global_options global_variations"
 Error: /opt/local/bin/port: Failed to initialize MacPorts, Failed to
 convert your registry to sqlite!

 }}}

 I installed the latest (v2.0.2) macports binaries via the dmg file and the
 problem persists.

 Thanks for your help.

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


More information about the macports-tickets mailing list