[MacPorts] #16740: base multiple versions of port active; deactivate and uninstall fail thereafter
#16740: base multiple versions of port active; deactivate and uninstall fail thereafter -----------------------------------+---------------------------------------- Reporter: febeling@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Under certain conditions it is possible to get multiple versions of the same port be active. I this situatiuon it is no longer possible to deactivate or uninstall, even when specifiying the full name @version_rev string. Please note that the port in question uses the unusual version number 0.0. {{{ DEBUG: Executing org.macports.activate (mochiweb) ---> Activating mochiweb @0.0_2 Error: Target org.macports.activate returned: Image error: Another version of this port (mochiweb @0.0_0) is already active. Warning: the following items did not execute (for mochiweb): org.macports.activate Error: Status 1 encountered during processing. flomac:mochiweb febeling$ port installed mochiweb The following ports are currently installed: mochiweb @0.0_0 (active) mochiweb @0.0_1 (active) mochiweb @0.0_2 (active) flomac:mochiweb febeling$ sudo port -f uninstall mochiweb mochiweb @0.0_0 ---> The following versions of mochiweb are currently installed: ---> mochiweb @0.0_0 (active) ---> mochiweb @0.0_1 (active) ---> mochiweb @0.0_2 (active) Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry. flomac:mochiweb febeling$ port installed ruby The following ports are currently installed: ruby @1.8.6-p111_0+darwin_9+dtrace+thread_hooks ruby @1.8.7-p22_2+thread_hooks ruby @1.8.7-p22_3+thread_hooks (active) flomac:mochiweb febeling$ sudo port -f uninstall mochiweb @0.0_0 Error: port uninstall failed: Registry error: Please specify the name of the port. flomac:mochiweb febeling$ sudo port -f uninstall mochiweb ---> The following versions of mochiweb are currently installed: ---> mochiweb @0.0_0 (active) ---> mochiweb @0.0_1 (active) ---> mochiweb @0.0_2 (active) Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry. }}} (Running trunk on 10.5.5 Intel) -- Ticket URL: <http://trac.macports.org/ticket/16740> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16740: base multiple versions of port active; deactivate and uninstall fail thereafter ------------------------------------+--------------------------------------- Reporter: febeling@macports.org | Owner: ryandesign@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * status: new => assigned * milestone: Port Bugs => MacPorts base bugs Comment: Confirmed. We do not handle ports whose version equals the number 0 ("0", "0.0", "0.00", etc.) properly. This is a problem with the registry. I'm looking into it. -- Ticket URL: <http://trac.macports.org/ticket/16740#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16740: base multiple versions of port active; deactivate and uninstall fail thereafter ------------------------------------+--------------------------------------- Reporter: febeling@macports.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed Comment: Fixed in r41854, and I don't think I broke anything else in the process. :) -- Ticket URL: <http://trac.macports.org/ticket/16740#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16740: base multiple versions of port active; deactivate and uninstall fail thereafter ------------------------------------+--------------------------------------- Reporter: febeling@macports.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | ------------------------------------+--------------------------------------- Comment(by ryandesign@macports.org): ChangeLog updated in r41978. -- Ticket URL: <http://trac.macports.org/ticket/16740#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16740: base multiple versions of port active; deactivate and uninstall fail thereafter ------------------------------------+--------------------------------------- Reporter: febeling@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.7.0 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by blb@…): * milestone: MacPorts base bugs => MacPorts 1.7.0 -- Ticket URL: <http://trac.macports.org/ticket/16740#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts