[Bug 1841516] Update Released
Chris MacNaughton
1841516 at bugs.launchpad.net
Mon Nov 2 10:00:10 UTC 2020
The verification of the Stable Release Update for python-cinderclient
has completed successfully and the package has now been released to
-updates. In the event that you encounter a regression using the package
from -updates please report a new bug using ubuntu-bug and tag the bug
report regression-update so we can easily find any regressions.
--
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/1841516
Title:
dpkg installation fails due to file conflict between python-
cinderclient and python3-cinderclient
Status in Ubuntu Cloud Archive:
Invalid
Status in Ubuntu Cloud Archive train series:
Fix Released
Status in python-cinderclient package in Ubuntu:
Invalid
Bug description:
[Impact]
When a user upgrades to the bionic-train cloud archive, it is possible
to run into a conflict between the python-cinderclient and
python3-cinderclient packages that manifests with this error:
Errors were encountered while processing:
/tmp/apt-dpkg-install-5QJYyK/23-python3-cinderclient_1%3a5.0.0-0ubuntu2~cloud0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Test Case]
root at cinderclient-test:~# apt-add-repository cloud-archive:stein
root at cinderclient-test:~# apt install python-cinderclient
root at cinderclient-test:~# apt-add-repository cloud-archive:train
root at cinderclient-test:~# apt install python3-cinderclient
With a new package that adds in the correct Breaks/Replaces, the above
works as expected rather than erroring in dpkg
[Regression Potential]
Regression potential is minimal as the only change required for this
is to update the python3-cinderclient target to Break & Replace the
python2 version.
------------------------------------------------------------------------
Upgrading python3-cinderclient from 1:4.1.0-0ubuntu1 to
2:4.2.1-0ubuntu2 fails on Eoan due to a conflicting file between the
two packages.
It seems there is no equivalent 4.2 upgrade for python-cinderclient so
anyone who previously had both versions installed now meet the
conflict.
lathiat at optane ~$ sudo apt-get dist-upgrade --auto-remove --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
lldb
The following packages will be upgraded:
python3-cinderclient
1 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
Need to get 0 B/139 kB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 381723 files and directories currently installed.)
Preparing to unpack .../python3-cinderclient_1%3a4.2.1-0ubuntu2_all.deb ...
Unpacking python3-cinderclient (1:4.2.1-0ubuntu2) over (1:4.1.0-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/python3-cinderclient_1%3a4.2.1-0ubuntu2_all.deb (--unpack):
trying to overwrite '/usr/share/bash-completion/completions/cinder.bash_completion', which is also in package python-cinderclient 1:4.1.0-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/python3-cinderclient_1%3a4.2.1-0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lathiat at optane ~$
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1841516/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list