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

MacPorts noreply at macports.org
Sat Sep 29 16:19:10 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
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+----------------------

Comment (by cal@…):

 I could finally reproduce this problem! In my case, it showed up when I
 tried to run
 {{{
 :) clemens at cSchlepptop:~$ port outdated
 Error: port installed failed: an invalid entry was passed
 No ports are installed.
 }}}

 The key here was that I was uninstalling one of the ports that were
 previously listed in the outdated list simultaneously in a different shell
 (which fixed itself automatically once the uninstall was complete). I'm
 thus assuming that everybody who saw this issue (permanently) somehow
 interrupted an uninstall process.

 The correct fix for the problem would be to wrap the uninstall process in
 a transaction, so that both concurrently running instances of port and the
 database disk will either see the changes completely, or not at all.

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


More information about the macports-tickets mailing list