[MacPorts] #25400: sqlite error: database is locked

MacPorts noreply at macports.org
Thu Jun 24 01:13:11 PDT 2010


#25400: sqlite error: database is locked
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.9.1                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 Since MacPorts 1.9.x (at least 1.9.1), I sometimes get errors like
 {{{
 $ port installed gcc43
 sqlite error: database is locked (5) while executing query: ATTACH
 DATABASE '/opt/local/var/macports/registry/registry.db' AS registry
     while executing
 "registry::open $db_path"
     (procedure "mportinit" line 536)
     invoked from within
 "mportinit ui_options global_options global_variations"
 Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error:
 database is locked (5) while executing query: ATTACH DATABASE
 '/opt/local/var/macports/registry/registry.db' AS registry
 }}}
 while another port is running. This never occurred with MacPorts 1.8.x,
 which waited for the lock to be released.

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


More information about the macports-tickets mailing list