Ticket #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: | florian.ebeling@… | |
| Port: |
Description (last modified by jmpp@…) (diff)
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
comment:1 Changed 6 years ago by nox@…
- Priority changed from Nice to have to Low
- Milestone set to MacPorts base bugs
- Version 1.5.0 deleted
- Summary changed from Uninstalling a deactivated port still triggers dependency warnings. to BUG: Uninstalling a deactivated port still triggers dependency warnings.
comment:2 Changed 6 years ago by jmpp@…
- Component changed from ports to base
- Description modified (diff)
comment:4 Changed 5 years ago by jmr@…
- Status changed from new to closed
- Resolution set to duplicate
Duplicate of #11501.
Note: See
TracTickets for help on using
tickets.

