package python-keystoneclient (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/keystone', which is also in package keystone 2012.1~e3~20120113.1511-0ubuntu1

Bug #916773 reported by Albert Damen
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-keystoneclient (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

Trying to install python-keystoneclient fails as /usr/bin/keystone is also shipped in the keystone package.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: python-keystoneclient (not installed)
ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
Uname: Linux 3.2.0-8-generic x86_64
ApportVersion: 1.90-0ubuntu2
AptOrdering:
 python-prettytable: Install
 python-keystoneclient: Install
 python-prettytable: Configure
 python-keystoneclient: Configure
Architecture: amd64
Date: Sun Jan 15 14:30:57 2012
DpkgTerminalLog:
 Unpacking python-prettytable (from .../python-prettytable_0.5-1ubuntu2_all.deb) ...
 Selecting previously unselected package python-keystoneclient.
 Unpacking python-keystoneclient (from .../python-keystoneclient_2.7+git20120105-0ubuntu3_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/python-keystoneclient_2.7+git20120105-0ubuntu3_all.deb (--unpack):
  trying to overwrite '/usr/bin/keystone', which is also in package keystone 2012.1~e3~20120113.1511-0ubuntu1
DuplicateSignature:
 Unpacking python-keystoneclient (from .../python-keystoneclient_2.7+git20120105-0ubuntu3_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/python-keystoneclient_2.7+git20120105-0ubuntu3_all.deb (--unpack):
  trying to overwrite '/usr/bin/keystone', which is also in package keystone 2012.1~e3~20120113.1511-0ubuntu1
ErrorMessage: trying to overwrite '/usr/bin/keystone', which is also in package keystone 2012.1~e3~20120113.1511-0ubuntu1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: python-keystoneclient
Title: package python-keystoneclient (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/keystone', which is also in package keystone 2012.1~e3~20120113.1511-0ubuntu1
UpgradeStatus: Upgraded to precise on 2011-05-28 (232 days ago)

Revision history for this message
Albert Damen (albrt) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-keystoneclient (Ubuntu):
status: New → Confirmed
Revision history for this message
shake.chen (shake-chen) wrote :

Hi

I try to install openstack in ubuntu 12.04

# apt-get install -y keystone glance nova-api nova-compute nova-network nova-objectstore nova-scheduler openstack-dashboard

would report the error.

Selecting previously unselected package python-cloudfiles.
Unpacking python-cloudfiles (from .../python-cloudfiles_1.7.9.2-1_all.deb) ...
Selecting previously unselected package python-keystoneclient.
Unpacking python-keystoneclient (from .../python-keystoneclient_2.7+git20120105-0ubuntu3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/python-keystoneclient_2.7+git20120105-0ubuntu3_all.deb (--unpack):
 trying to overwrite '/usr/bin/keystone', which is also in package keystone 2012.1~e3~20120113.1511-0ubuntu1
Selecting previously unselected package python-django-horizon.
Unpacking python-django-horizon (from .../python-django-horizon_2012.1~e3~20120113.1213-0ubuntu1_all.deb) ...
Selecting previously unselected package openstack-dashboard.
Unpacking openstack-dashboard (from .../openstack-dashboard_2012.1~e3~20120113.1213-0ubuntu1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Errors were encountered while processing:
 /var/cache/apt/archives/python-keystoneclient_2.7+git20120105-0ubuntu3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@node20:~#

Revision history for this message
Albert Damen (albrt) wrote :

The name collision is discussed in https://bugs.launchpad.net/keystone/+bug/910484

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-keystoneclient - 2012.1~e4~20120127.0-0ubuntu2

---------------
python-keystoneclient (2012.1~e4~20120127.0-0ubuntu2) precise; urgency=low

  * debian/control: Conflicts with keystone. (LP: #916773)
 -- Chuck Short <email address hidden> Mon, 30 Jan 2012 09:51:39 -0500

Changed in python-keystoneclient (Ubuntu):
status: Confirmed → 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.