python-swiftclient fails install if the swift package is installed

Bug #1062160 reported by Andrew Glen-Young
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
High
Unassigned
python-swiftclient (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I was upgrading a Precise + Essex install, using the ubuntu-cloud archive, to Precise + Folsom.

During the upgrade I received an error during the package installation of python-swiftclient (see below).

The workaround was to remove the 'swift' package before installing 'python-swiftclient'.

Is there a missing conflicts on this package?

Error message:

[...]
Selecting previously unselected package python-swiftclient.
Unpacking python-swiftclient (from .../python-swiftclient_1%3a1.2.0-0ubuntu2~cloud0_all.deb) ...
dpkg: error processing /var/cache/apt/archives/python-swiftclient_1%3a1.2.0-0ubuntu2~cloud0_all.deb (--unpack):
 trying to overwrite '/usr/bin/swift', which is also in package swift 1.4.8-0ubuntu2
[...]

Current System information:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"

$ dpkg -l | grep swift
ii python-swift 1.7.4-0ubuntu1~cloud0 distributed virtual object store - Python libraries
ii python-swiftclient 1:1.2.0-0ubuntu2~cloud0 Client libary for Openstack Swift API.

Tags: canonistack
Revision history for this message
James Page (james-page) wrote :

There is indeed a missing conflicts on the package.

Changed in python-swiftclient (Ubuntu):
status: New → Confirmed
importance: Undecided → High
status: Confirmed → Triaged
Chuck Short (zulcss)
Changed in cloud-archive:
status: New → Triaged
importance: Undecided → High
Chuck Short (zulcss)
Changed in cloud-archive:
milestone: none → folsom-precise-updates
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-swiftclient - 1:1.3.0-0ubuntu1

---------------
python-swiftclient (1:1.3.0-0ubuntu1) raring; urgency=low

  * New changelog.
  * debian/control: Breaks and Replaces if swift is installed. (LP: #1062160)
  * debian/control: Add python-testtools and python-fixtures as a build depends.
 -- Chuck Short <email address hidden> Wed, 13 Feb 2013 08:52:28 -0600

Changed in python-swiftclient (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Fixed in Ubuntu Cloud Archive in python-swiftclient 1.3.0-0ubuntu1~cloud0

Changed in cloud-archive:
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.