#10571: RFE: activate should deactivate as per necessary ---------------------------------+------------------------------------------ Reporter: jpm@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: Resolution: fixed | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by jmr@…): * cc: jmr@… (added) * status: new => closed * resolution: => fixed * milestone: MacPorts Future => MacPorts 1.8.0 Old description:
if one invokes the activate command, it seems as though it should also deactivate an already-active version automatically rather than require the user to manually deactivate then activate...
jpm.giant-jellyfish ~ -=> port installed mysql5 The following ports are currently installed: mysql5 @5.0.22_0+darwin_8+server mysql5 @5.0.24_0+darwin_8+server (active) jpm.giant-jellyfish ~ -=> sudo port activate mysql5 @5.0.22_0+darwin_8+server ---> Activating mysql5 5.0.22_0+darwin_8+server Error: port activate failed: Image error: Another version of mysql5 (5.0.24_0+darwin_8+server) is already active. jpm.giant-jellyfish ~ -=>
New description: if one invokes the activate command, it seems as though it should also deactivate an already-active version automatically rather than require the user to manually deactivate then activate... {{{ jpm.giant-jellyfish ~ -=> port installed mysql5 The following ports are currently installed: mysql5 @5.0.22_0+darwin_8+server mysql5 @5.0.24_0+darwin_8+server (active) jpm.giant-jellyfish ~ -=> sudo port activate mysql5 @5.0.22_0+darwin_8+server ---> Activating mysql5 5.0.22_0+darwin_8+server Error: port activate failed: Image error: Another version of mysql5 (5.0.24_0+darwin_8+server) is already active. jpm.giant-jellyfish ~ -=> }}} -- Comment: r53711 -- Ticket URL: <http://trac.macports.org/ticket/10571#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS