[MacPorts] #68353: Cannot upgrade openconnect-sso
MacPorts
noreply at macports.org
Wed Oct 4 07:15:13 UTC 2023
#68353: Cannot upgrade openconnect-sso
------------------------------+----------------------
Reporter: danchr | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: openconnect-sso |
------------------------------+----------------------
Description changed by ryandesign:
Old description:
> Commit [https://github.com/macports/macports-
> ports/commit/bc89470e99dfaab138f9a3f9bba67357e4a5c895 bc89470e99df] made
> `openconnect-sso` depend on `py-xdg` rather than `py-pyxdg`; apparently,
> the latter is a replacement for the former. Crucially, however, the two
> ports are marked as conflicting and cannot be installed at the same time,
> but not as a replacement proper. As a result, an attempt to upgrade
> `openconnect-sso` fails:
>
> {{{
> $ port outdated
> The following installed ports are outdated:
> openconnect-sso 0.8.0_0 < 0.8.0_1
> (hg-git)[default:dcfc6e664c ]
> $ port upgrade outdated
> ---> Computing dependencies for py311-pyxdg
> Error: Can't install py311-pyxdg because conflicting ports are active:
> py311-xdg
> Error: Problem while installing py311-pyxdg
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> $ port uninstall py311-xdg
> Note: It is not recommended to uninstall/deactivate a port that has
> dependents as it breaks the dependents.
> The following ports will break: openconnect-sso @0.8.0_0
> Continue? [y/N]:
> }}}
New description:
Commit [bc89470e99dfaab138f9a3f9bba67357e4a5c895/macports-ports] made
`openconnect-sso` depend on `py-xdg` rather than `py-pyxdg`; apparently,
the latter is a replacement for the former. Crucially, however, the two
ports are marked as conflicting and cannot be installed at the same time,
but not as a replacement proper. As a result, an attempt to upgrade
`openconnect-sso` fails:
{{{
$ port outdated
The following installed ports are outdated:
openconnect-sso 0.8.0_0 < 0.8.0_1
(hg-git)[default:dcfc6e664c ]
$ port upgrade outdated
---> Computing dependencies for py311-pyxdg
Error: Can't install py311-pyxdg because conflicting ports are active:
py311-xdg
Error: Problem while installing py311-pyxdg
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
$ port uninstall py311-xdg
Note: It is not recommended to uninstall/deactivate a port that has
dependents as it breaks the dependents.
The following ports will break: openconnect-sso @0.8.0_0
Continue? [y/N]:
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/68353#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list