package python-openstack-compute (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/python2.7/dist-packages/openstack/compute/__init__.py', which is also in package python-openstacksdk 0.9.13-0ubuntu1

Bug #1703641 reported by Yoogeun Song
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstack-compute (Ubuntu)
Fix Released
Medium
Unassigned
python-openstacksdk (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

It shows an error that I have no idea about.

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: python-openstack-compute (not installed)
ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8
Uname: Linux 4.11.0-10-generic i686
ApportVersion: 2.20.5-0ubuntu5
AptOrdering:
 python-openstack-compute:i386: Install
 NULL: ConfigurePending
Architecture: i386
Date: Wed Jul 12 00:33:09 2017
DpkgTerminalLog:
 Preparing to unpack .../python-openstack-compute_2.0a1-0ubuntu3_i386.deb ...
 Unpacking python-openstack-compute (2.0a1-0ubuntu3) ...
 dpkg: error processing archive /var/cache/apt/archives/python-openstack-compute_2.0a1-0ubuntu3_i386.deb (--unpack):
  trying to overwrite '/usr/lib/python2.7/dist-packages/openstack/compute/__init__.py', which is also in package python-openstacksdk 0.9.13-0ubuntu1
DuplicateSignature:
 package:python-openstack-compute:(not installed)
 Unpacking python-openstack-compute (2.0a1-0ubuntu3) ...
 dpkg: error processing archive /var/cache/apt/archives/python-openstack-compute_2.0a1-0ubuntu3_i386.deb (--unpack):
  trying to overwrite '/usr/lib/python2.7/dist-packages/openstack/compute/__init__.py', which is also in package python-openstacksdk 0.9.13-0ubuntu1
ErrorMessage: trying to overwrite '/usr/lib/python2.7/dist-packages/openstack/compute/__init__.py', which is also in package python-openstacksdk 0.9.13-0ubuntu1
InstallationDate: Installed on 2016-10-06 (278 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release i386 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt 1.5~beta1
SourcePackage: python-openstack-compute
Title: package python-openstack-compute (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/python2.7/dist-packages/openstack/compute/__init__.py', which is also in package python-openstacksdk 0.9.13-0ubuntu1
UpgradeStatus: Upgraded to artful on 2017-06-02 (39 days ago)

Revision history for this message
Yoogeun Song (thebestgeniusever) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Corey Bryant (corey.bryant) wrote :

I'm not entirely sure of the history here but it seems that openstacksdk may have replaced openstack-compute. The code for openstack-compute hasn't seen an update since 2011.

The python-openstacksdk package may need a Breaks/Replaces to ensure that openstack-compute is removed when openstacksdk is installed.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

As a work-around, if you know you don't need python-openstack-compute, you can manually remove that package.

Changed in python-openstack-compute (Ubuntu):
status: New → Triaged
Changed in python-openstacksdk (Ubuntu):
status: New → Triaged
Changed in python-openstack-compute (Ubuntu):
importance: Undecided → Low
Changed in python-openstacksdk (Ubuntu):
importance: Undecided → Low
Changed in python-openstack-compute (Ubuntu):
importance: Low → Medium
Changed in python-openstacksdk (Ubuntu):
importance: Low → Medium
Revision history for this message
James Page (james-page) wrote :

python-openstack-compute has been removed from Ubuntu

Changed in python-openstack-compute (Ubuntu):
status: Triaged → Fix Released
Changed in python-openstacksdk (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.