[Bug 1772681] Re: [SRU] python-swauth package dropped but not removed
Łukasz Zemczak
1772681 at bugs.launchpad.net
Thu Jun 14 09:22:44 UTC 2018
Hello Edward, or anyone else affected,
Accepted swauth into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/swauth/1.3.0-1ubuntu1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: swauth (Ubuntu Bionic)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1772681
Title:
[SRU] python-swauth package dropped but not removed
Status in Ubuntu Cloud Archive:
New
Status in Ubuntu Cloud Archive ocata series:
Fix Committed
Status in Ubuntu Cloud Archive pike series:
New
Status in Ubuntu Cloud Archive queens series:
New
Status in swauth package in Ubuntu:
Invalid
Status in swauth source package in Artful:
Fix Committed
Status in swauth source package in Bionic:
Fix Committed
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:newton (or whichever we are testing)
* 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-0ubuntu1.16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/swauth_1.1.0-3~cloud0_all.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/swauth/__init__.py', which is also in package python-swauth 1.0.4-0ubuntu1.16.04.1
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/apt/archives/swauth_1.1.0-3~cloud0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
If i remove python-swauth prior to upgrade it works just fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1772681/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list