[MacPorts] #32686: Registry DB corrupted after selfupdate

MacPorts noreply at macports.org
Sat Jan 14 00:28:22 PST 2012


#32686: Registry DB corrupted after selfupdate
-----------------------------------+----------------------------------------
 Reporter:  falkschramm@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  base                   |     Version:  2.0.3                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------

Comment(by stephen@…):

 I have svn up'ed and I'm now at revision 88878.

 Here's the tail of the result of {{{make clean; ./configure; make && sudo
 make install}}} in {{{MacPorts/base}}}:
 {{{
 ===> making install in tests
 make[1]: Nothing to be done for `install'.
 [ ! -f /opt/local/etc/macports/mp_version ] || rm -vf
 /opt/local/etc/macports/mp_version
 /usr/bin/install -c -o root -g admin -m 444 setupenv.bash
 /opt/local/share/macports/
 /usr/bin/install -c -o root -g admin -m 444 macports-pubkey.pem
 /opt/local/share/macports/
 /usr/bin/tclsh src/upgrade_sources_conf_default.tcl "/opt/local"
 /usr/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl"
 sqlite error: cannot commit transaction - SQL statements in progress (1)
 while executing query: COMMIT
     while executing
 "registry::open $db_path"
     (procedure "mportinit" line 581)
     invoked from within
 "mportinit ui_options"
     (file "src/images_to_archives.tcl" line 18)
 make: *** [install] Error 1
 }}}
 followed by a manual {{{sudo port sync}}}:
 {{{
 sqlite error: cannot commit transaction - SQL statements in progress (1)
 while executing query: COMMIT
     while executing
 "registry::open $db_path"
     (procedure "mportinit" line 581)
     invoked from within
 "mportinit ui_options global_options global_variations"
 Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error:
 cannot commit transaction - SQL statements in progress (1) while executing
 query: COMMIT
 }}}
 So, it didn't "work", but the error message changed, at least. :-/

 What is the "manual upgrade" you mentioned in your email message?

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


More information about the macports-tickets mailing list