Ticket #12013 (closed defect: fixed)
"port upgrade" tries to activate an installed version before building the new version
| Reported by: | vinc17@… | Owned by: | eridius@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.4.42 |
| Keywords: | haspatch | Cc: | boeyms@…, jmr@… |
| Port: |
Description
I have the following problem:
prunille:~> port installed python24
The following ports are currently installed:
python24 @2.4.3_1+darwin_8 (active)
python24 @2.4.4_0+darwin_8
prunille:~> sudo port -v -d upgrade python24
DEBUG: Found port in file:///Users/vinc17/software/dports/lang/python24
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.macports.org_dpupdate_dports/lang/python24
---> Activating python24 2.4.4_0+darwin_8
DEBUG: Image error: Another version of this port (python24 @2.4.3_1+darwin_8) is already active.
while executing
"portimage::activate $portname $version_installed$variant $optionslist"
Error: Activating python24 2.4.4_0 failed: Image error: Another version of this port (python24 @2.4.3_1+darwin_8) is already active.
prunille:~> port info python24
Warning: Found 2 port python24 definitions, displaying first one.
python24 2.4.4, Revision 1, lang/python24 (Variants: universal, puredarwin, darwin_8)
[...]
"port upgrade" shouldn't have tried to activate version 2.4.4_0 since the goal is to build and install version 2.4.4_1.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

