Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16169 closed defect (fixed)

"port upgrade p5-version" tries to uninstall it first (and fails)

Reported by: vinc17@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.7.0
Component: base Version: 1.6.0
Keywords: Cc: jmroot (Joshua Root), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port:

Description

I want to upgrade p5-version, but port tries to uninstall it first, instead of deactivating it. So, I get the following error:

$ sudo port -d upgrade p5-version
DEBUG: Found port in file:///Users/vinc17/software/dports/perl/p5-version
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-version
DEBUG: epoch: in tree: 1 installed: 0
DEBUG: p5-version 0.76_0 exists in the ports tree
DEBUG: p5-version 0.7203_0 is installed
DEBUG: Found port in file:///Users/vinc17/software/dports/lang/perl5.8
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5.8 5.8.8_3 exists in the ports tree
DEBUG: perl5.8 5.8.8_3 is installed
DEBUG: No need to upgrade! perl5.8 5.8.8_3 >= perl5.8 5.8.8_3
DEBUG: No need to upgrade! p5-version 0.7203_0 >= p5-version 0.76_0
DEBUG: epoch override ... upgrading!
DEBUG: variants to install 
DEBUG: available variants are : universal
DEBUG: new portvariants: 
DEBUG: Changing to port directory: /Users/vinc17/software/dports/perl/p5-version
DEBUG: Requested variant powerpc is not provided by port p5-version.
DEBUG: Requested variant darwin is not provided by port p5-version.
DEBUG: Requested variant macosx is not provided by port p5-version.
DEBUG: Found port in file:///Users/vinc17/software/dports/lang/perl5.8
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: Changing to port directory: /Users/vinc17/software/dports/lang/perl5.8
DEBUG: Requested variant powerpc is not provided by port perl5.8.
DEBUG: Requested variant macosx is not provided by port perl5.8.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant darwin_8 provides darwin_8
DEBUG: Searching for dependency: perl5.8
DEBUG: Found Dependency: receipt exists for perl5.8
DEBUG: Skipping completed org.macports.main (p5-version)
DEBUG: Skipping completed org.macports.fetch (p5-version)
DEBUG: Skipping completed org.macports.checksum (p5-version)
DEBUG: Skipping completed org.macports.extract (p5-version)
DEBUG: Skipping completed org.macports.patch (p5-version)
DEBUG: Skipping completed org.macports.configure (p5-version)
DEBUG: Skipping completed org.macports.build (p5-version)
DEBUG: Skipping completed org.macports.destroot (p5-version)
DEBUG: Uninstalling p5-version 0.7203_0
DEBUG: p5-module-build depends on this port
DEBUG: p5-module-build depends on this port
DEBUG: p5-module-build depends on this port
DEBUG: p5-module-build depends on this port
DEBUG: p5-module-build depends on this port
DEBUG: p5-module-build depends on this port
--->  Unable to uninstall p5-version 0.7203_0, the following ports depend on it:
--->    p5-module-build
--->    p5-module-build
--->    p5-module-build
--->    p5-module-build
--->    p5-module-build
--->    p5-module-build
DEBUG: Please uninstall the ports that depend on p5-version first.
    while executing
"portuninstall::uninstall $portname ${version_installed}_$revision_installed$oldvariant $optionslist"
Error: Uninstall p5-version 0.7203_0 failed: Please uninstall the ports that depend on p5-version first.

Change History (5)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added

This should be fixed in trunk thanks to r37442.

comment:2 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:3 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.7.0
Resolution: fixed
Status: newclosed

Assuming this is fixed since no indication to the contrary has been made.

comment:5 Changed 16 years ago by vinc17@…

I confirm that I no longer have any problem.

Note: See TracTickets for help on using tickets.