Opened 13 months ago

Last modified 13 months ago

#68353 assigned defect

Cannot upgrade openconnect-sso

Reported by: danchr (Dan Villiom Podlaski Christiansen) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: catap (Kirill A. Korinsky), lpsinger (Leo Singer), RhetTbull
Port: openconnect-sso

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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]: 

Change History (3)

comment:1 Changed 13 months ago by danchr (Dan Villiom Podlaski Christiansen)

Cc: catap added; kirmorozov removed
Owner: set to catap
Status: newassigned

comment:2 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: lpsinger RhetTbull added

So your complaint is really that py*-pyxdg and py*-xdg conflict. How shall that conflict be resolved?

Note: See TracTickets for help on using tickets.