#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