queens->rocky upgrade refuses to overwrite existing old binary with symlink
Bug #1845326 reported by
Dr. Jens Harbott
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron-dynamic-routing (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
On an upgrade from queens (where only the python2 pkg existed) to rocky fails to install the alternative. When installing the new package, it also refuses to overwrite the existing old binary with a symlink.
Note: bug description has been updated based on comment #2 so comment #1 is no longer applicable.
summary: |
- queens->rocky upgrade queens refuses to overwrite existing old binary - with symlink + queens->rocky upgrade refuses to overwrite existing old binary with + symlink |
To post a comment you must log in.
I believe this is working as designed. The packages set up alternatives in rocky where the python2 package alternative would take priority if both the py2 and py3 package are installed.
update-alternatives --install /usr/bin/ neutron- bgp-dragent neutron-bgp-dragent /usr/bin/ python3- neutron- bgp-dragent 200 neutron- bgp-dragent neutron-bgp-dragent /usr/bin/ python2- neutron- bgp-dragent 300
update-alternatives --install /usr/bin/