virt-manager is uninstallable on non x86 arches

Bug #1385386 reported by Chris J Arges
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virt-manager (Debian)
Fix Released
Unknown
virt-manager (Ubuntu)
Fix Released
Medium
Chris J Arges

Bug Description

SRU Justification:
[Impact]
Users of virt-manager on non-x86 graphical systems won't be able to install the package.
[Test Case]
sudo apt-get install virt-manager
[Fix]
Move arch dependencies to recommends.

--

$ sudo apt-get install virt-install
sudo: unable to resolve host peachy
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package virt-install
ubuntu@peachy:~$ sudo apt-get install virt-manager
sudo: unable to resolve host peachy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 virt-manager : Depends: gir1.2-spice-client-gtk-3.0 but it is not installable
                Recommends: libvirt-bin (>= 0.4.6) but it is not going to be installed
                Recommends: python-spice-client-gtk but it is not installable
E: Unable to correct problems, you have held broken packages.

Tags: patch
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. This doesn't seem to be happening to me. Could you please show the result of "apt-cache show virt-manager libvirt-bin gir1.2-spice-client-gtk-3.0" ?

If you do

"sudo apt-get update && sudo apt-get install -f", what is the recommended solution?

Changed in virt-manager (Ubuntu):
status: New → Incomplete
Chris J Arges (arges)
Changed in virt-manager (Ubuntu):
assignee: nobody → Chris J Arges (arges)
importance: Undecided → Medium
status: Incomplete → In Progress
Revision history for this message
Chris J Arges (arges) wrote :

This moves the arch dependencies from Depends to Recommends. I've tested this build on my armhf system and it installs fine.

Revision history for this message
Chris J Arges (arges) wrote :

Also submitted the patch to Debian for review.

summary: - virt-manager is uninstallable on armhf
+ virt-manager is uninstallable on non x86 arches
description: updated
tags: added: patch
Changed in virt-manager (Debian):
status: Unknown → New
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks Chris, looks good to me. Mark, do you want to push this to vivid, or wait and merge it from Debian?

Changed in virt-manager (Debian):
status: New → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote :

Serge,

The debian maintainer proposed a better patch here:
http://anonscm.debian.org/cgit/pkg-libvirt/virt-manager.git/commit/?id=10067886d1778407b70f812c405ceb3c3a868d7c

I'll work on using this one for the SRU instead.
I'm ok with waiting for the merge from Debian as well if it makes more sense.

--chris

Changed in virt-manager (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote :

Awaiting merge from debian

Revision history for this message
Chris J Arges (arges) wrote :

Verified that this is working after the merge from Debian on armhf.

description: updated
Changed in virt-manager (Ubuntu):
status: In Progress → Fix Released
assignee: Chris J Arges (arges) → nobody
Changed in virt-manager (Ubuntu Trusty):
assignee: nobody → Chris J Arges (arges)
Changed in virt-manager (Ubuntu Utopic):
assignee: nobody → Chris J Arges (arges)
Changed in virt-manager (Ubuntu):
assignee: nobody → Chris J Arges (arges)
Changed in virt-manager (Ubuntu Trusty):
status: New → In Progress
Changed in virt-manager (Ubuntu Utopic):
status: New → In Progress
importance: Undecided → Medium
Changed in virt-manager (Ubuntu Trusty):
importance: Undecided → Medium
Chris J Arges (arges)
no longer affects: virt-manager (Ubuntu Trusty)
no longer affects: virt-manager (Ubuntu Utopic)
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.