Opened 18 years ago

Closed 15 years ago

Last modified 15 years ago

#10571 closed enhancement (fixed)

RFE: activate should deactivate as per necessary

Reported by: jpm@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version:
Keywords: Cc: jmroot (Joshua Root)
Port:

Description (last modified by jmroot (Joshua Root))

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 ~ -=>

Attachments (1)

10571.patch (579 bytes) - added by kirk.kelsey@… 18 years ago.
patch of portimage.tcl

Download all attachments as: .zip

Change History (7)

comment:1 Changed 18 years ago by markd@…

severity: normalenhancement
Summary: activate should deactivate as per necessaryRFE: activate should deactivate as per necessary

comment:2 Changed 18 years ago by pipping@…

Milestone: MacPorts 1.5

Changed 18 years ago by kirk.kelsey@…

Attachment: 10571.patch added

patch of portimage.tcl

comment:3 Changed 17 years ago by nox@…

Priority: ExpectedNormal
Version: 1.2

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)
Milestone: MacPorts 1.5MacPorts base enhancements

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Description: modified (diff)
Milestone: MacPorts FutureMacPorts 1.8.0
Resolution: fixed
Status: newclosed

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Reporter: changed from jpm@… to jpm@…
Note: See TracTickets for help on using tickets.