[SRU] python-swauth package dropped but not removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Ocata |
Fix Released
|
Undecided
|
Unassigned | ||
Pike |
Fix Released
|
Undecided
|
Unassigned | ||
Queens |
Fix Released
|
Undecided
|
Unassigned | ||
swauth (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Artful |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Edward Hope-Morley |
Bug Description
[Impact]
Upgrading from Xenial/Mitaka to a newer release such as Newton or beyond will break since the newer packages dropped python-swauth package but do not uninstall it resulting in an install conflict. This patch fixes this by ensuring the upgrade uninstalls python-swauth prior to installing new swauth.
[Test Case]
* boot Xenial host
* sudo apt install swauth
* sudo add-apt-repository -y cloud-archive:
* sudo apt update
* sudo apt install swauth (upgrade)
OR
* boot Bionic host
* sudo apt install swauth -ensure it installs cleanly
[Regression Potential]
None envisaged
--------
Versions greater than 1.0.4-0 have dropped the python-swauth package but do not remove it such that an upgrade breaks with error like:
Unpacking swauth (1.1.0-3~cloud0) over (1.0.4-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
If i remove python-swauth prior to upgrade it works just fine.
no longer affects: | swauth |
tags: | added: sts sts-sru-needed |
summary: |
- python-swauth package dropped but not removed + [SRU] python-swauth package dropped but not removed |
Changed in swauth (Ubuntu Bionic): | |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in swauth (Ubuntu Bionic): | |
status: | New → In Progress |
description: | updated |
no longer affects: | cloud-archive/rocky |
swauth-1.0.4 debian/control - https:/ /paste. ubuntu. com/p/QMMP9kBWb N/ /paste. ubuntu. com/p/GfPBkFWPB 2/
swauth-1.1.0 debian/control - https:/
summary: python-swauth merged into swauth and swauth-doc package added