[MacPorts] #34482: uninstall failure: "an invalid entry was passed"

MacPorts noreply at macports.org
Mon Jul 9 03:24:00 PDT 2012


#34482: uninstall failure: "an invalid entry was passed"
------------------------------------+---------------------------------------
 Reporter:  jasperfrumau@…          |       Owner:  cal@…           
     Type:  defect                  |      Status:  assigned        
 Priority:  Normal                  |   Milestone:                  
Component:  base                    |     Version:  2.1.0           
 Keywords:                          |        Port:                  
------------------------------------+---------------------------------------

Comment(by cal@…):

 You have the same problem, however your case is less clear.

 You do have incorrect dependencies in your dependencies table:
 {{{
 sqlite> SELECT * FROM dependencies WHERE id NOT IN (SELECT DISTINCT id
 FROM ports);
 243|python27|
 243|py27-dateutil|
 243|py27-tz|
 243|py27-numpy|
 243|py27-configobj|
 243|py27-pyobjc-cocoa|
 243|freetype|
 243|libpng|
 243|py27-cairo|
 243|py27-gtk|
 }}}

 However, I couldn't identify one correct package that is a depdency of all
 those ports listed; it might be zlib, though. You do have zlib installed:
 {{{
 sqlite> SELECT id,name,version,variants,date,requested,state,installtype
 FROM ports WHERE name LIKE 'zlib';
 3|zlib|1.2.6||1330561572|0|imaged|image
 573|zlib|1.2.6|+universal|1334344790|0|imaged|image
 686|zlib|1.2.7|+universal|1336335065|0|installed|image
 }}}

 So, I suggest you create a backup of your registry.db open it with
 `sqlite3` and run:
 {{{
 UPDATE dependencies SET id = 686 WHERE id = 243;
 }}}

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


More information about the macports-tickets mailing list