[Bug 1841516] [NEW] dpkg installation fails due to file conflict between python-cinderclient and python3-cinderclient

Trent Lloyd trent.lloyd at canonical.com
Tue Aug 27 05:28:50 UTC 2019


Public bug reported:

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 ~$

** Affects: python-cinderclient (Ubuntu)
     Importance: Critical
         Status: Confirmed

** Changed in: python-cinderclient (Ubuntu)
       Status: New => Incomplete

** Changed in: python-cinderclient (Ubuntu)
       Status: Incomplete => Confirmed

** Changed in: python-cinderclient (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-cinderclient in Ubuntu.
https://bugs.launchpad.net/bugs/1841516

Title:
  dpkg installation fails due to file conflict between python-
  cinderclient and python3-cinderclient

Status in python-cinderclient package in Ubuntu:
  Confirmed

Bug description:
  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/ubuntu/+source/python-cinderclient/+bug/1841516/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list