Ticket #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: | jmr@…, mcalhoun@… | |
| 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
Note: See
TracTickets for help on using
tickets.

