[MacPorts] #10571: RFE: activate should deactivate as per necessary

MacPorts trac at macosforge.org
Mon Dec 10 10:24:03 PST 2007


#10571: RFE: activate should deactivate as per necessary
---------------------------------+------------------------------------------
  Reporter:  jpm at opendarwin.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement         |      Status:  new                                  
  Priority:  Normal              |   Milestone:  MacPorts base enhancements           
 Component:  base                |     Version:                                       
Resolution:                      |    Keywords:                                       
---------------------------------+------------------------------------------
Changes (by jmpp at macports.org):

  * milestone:  MacPorts 1.5 => MacPorts base enhancements

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

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/10571#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list