Opened 17 years ago

Closed 16 years ago

Last modified 14 years ago

#12344 closed defect (duplicate)

BUG: Uninstalling a deactivated port still triggers dependency warnings.

Reported by: schwern@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: base Version:
Keywords: Cc: febeling (Florian Ebeling)
Port:

Description (last modified by jmpp@…)

Uninstalling a deactivated port, even while another version is active, port still checks for dependencies as if it were active. As a result I can't simply say "port uninstall inactive" without the dangers of forcing it.

Here's an example attempting to uninstall a deactive version of bison.

$ port uninstall bison
--->  The following versions of bison are currently installed:
--->    bison @2.2_0
--->    bison @2.3_0 (active)
Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry.

$ port uninstall bison@2.2_0
--->  Unable to uninstall bison 2.2_0, the following ports depend on it:
--->    gpg-agent
--->    gpg-agent
Error: port uninstall failed: Please uninstall the ports that depend on bison first.

$ port info gpg-agent
gpg-agent 2.0.3, security/gpg-agent (Variants: universal, darwin, darwin_7, no_pinentry)
http://www.gnupg.org

gpg-agent is a key management agent similar in function to ssh-agent.

Library Dependencies: libiconv, gettext, zlib, bzip2, bison, libassuan, libksba, libgcrypt, libgpg-error, pth, pinentry
Platforms: darwin freebsd sunos
Maintainers: yeled@macports.org

Change History (6)

comment:1 Changed 17 years ago by nox@…

Milestone: MacPorts base bugs
Priority: Nice to haveLow
Summary: Uninstalling a deactivated port still triggers dependency warnings.BUG: Uninstalling a deactivated port still triggers dependency warnings.
Version: 1.5.0

comment:2 Changed 17 years ago by jmpp@…

Component: portsbase
Description: modified (diff)

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

Cc: florian.ebeling@… added

Cc reporter of duplicate #14816.

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

Resolution: duplicate
Status: newclosed

Duplicate of #11501.

comment:5 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

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

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.