Bug during installation. conflicts: python-glanceclient + glance-client

Bug #1024281 reported by Emilien Macchi
This bug affects 6 people
Affects Status Importance Assigned to Milestone
python-glanceclient (Ubuntu)
Adam Gandelman

Bug Description

In Ubuntu 12.10, python-glanceclient & glance-client are in conflict :


To fix that, I should to copy /usr/bin/glance to another name and force the install :

dpkg -i --force-all /var/cache/apt/archives/glance-client_2012.2~f2~20120531.1560-0ubuntu1_all.deb

And that works.

affects: python-glanceclient → ubuntu
affects: ubuntu → python-glanceclient
Changed in python-glanceclient (Ubuntu):
assignee: nobody → Adam Gandelman (gandelman-a)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in python-glanceclient (Ubuntu):
status: New → Confirmed
Brian Waldon (bcwaldon)
no longer affects: python-glanceclient
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

The easiest thing to do would be to set Conflicts between these two packages, so that only one may be installed at a given time. This begs the question, though: is it acceptable to replace the original glance-client with the new python-glanceclient? Though the binary location and name is exactly the same, the user interface has changed dramatically (compare 'glance --help' between each versions) Which do we recommend, document?

Another option would be to add a compatibility layer to the newer python-glanceclient that translates old syntax to new.

summary: - Bug during installation
+ Bug during installation. conflicts: python-glanceclient + glance-client
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Its also worth noting that, AFAIK, the plan upstream is to deprecate and remove the original glance client from the glance server(s) source tree. In that case, only one package will provide the client at the cost of a broken user experience.


Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Marking 'Fix Released' . The uploads of python-glanceclient (1:0.4.1-0ubuntu1) and glance (2012.2~f3-0ubuntu1) included changes that describe the conflicting relationship between glance-client and python-glanceclient. Only one client package may be installed.

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

Duplicates of this bug

Other bug subscribers