Unavailable dependency for qemu-kvm 1.0+noroms-0ubuntu12

Bug #978456 reported by Artem Andreev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The recently updated package qemu-kvm of version 1.0+noroms-0ubuntu12 depends on qemu-common of the same version which is not available. This causes problems for some automated installation scripts (e.g. DevStack) resulting in ...

root@localhost:~# apt-get install qemu-kvm
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:
 qemu-kvm : Depends: qemu-common (>= 1.0+noroms-0ubuntu12) but 1.0+noroms-0ubuntu11 is to be installed
E: Unable to correct problems, you have held broken packages.

Additional info

root@localhost:~# lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

root@localhost:~# apt-cache policy qemu-kvm
qemu-kvm:
  Installed: (none)
  Candidate: 1.0+noroms-0ubuntu12
  Version table:
     1.0+noroms-0ubuntu12 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Expected behavior: the package can be installed

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

Thanks for reporting this bug.

This looks like a strange transient error due to the archive mirroring. Could you re-try? qemu-common of the same version should be available and all should succeed.

Changed in qemu-kvm (Ubuntu):
status: New → Incomplete
Revision history for this message
Artem Andreev (just-wow) wrote :

Thanks for the quick reply.

I've just updated my package cache and nothing changed. The package installation still fails.
The most confusing thing is that the package list at https://launchpad.net/ubuntu/precise/amd64/qemu-common doesn't list uploaded qemu-common of version 1.0+noroms-0ubuntu12 at all. Am I missing something?

FYI, here's the list of enabled sources on the problem machine

stack@lab-03:~$ cat /etc/apt/sources.list | grep -v '^#'

deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 978456] Re: Unavailable dependency for qemu-kvm 1.0+noroms-0ubuntu12

Quoting Artem Andreev (<email address hidden>):
> Thanks for the quick reply.
>
> I've just updated my package cache and nothing changed. The package installation still fails.
> The most confusing thing is that the package list at https://launchpad.net/ubuntu/precise/amd64/qemu-common doesn't list uploaded qemu-common of version 1.0+noroms-0ubuntu12 at all. Am I missing something?
>

Please see https://launchpad.net/ubuntu/precise/amd64/qemu-common/1.0+noroms-0ubuntu12 - at top
right there is a link to the qemu-common .deb,
http://launchpadlibrarian.net/101176655/qemu-common_1.0%2Bnoroms-0ubuntu12_all.deb

You could download and install that by hand, but I'm concerned about
what is underlying this.

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

The first time I read through this, I missed the following line in your original output:

E: Unable to correct problems, you have held broken packages.

That is presumably the cause of your problems. Can you show the output of:

dpkg -l | grep ^h

and

apt-cache policy qemu-common

?

Revision history for this message
Artem Andreev (just-wow) wrote :

I've just updated the package cache once again and it finally works. But just before the update the apt-cache policy was looking like this

root@localhost:~$ apt-cache policy qemu-common
qemu-common:
  Installed: (none)
  Candidate: 1.0+noroms-0ubuntu11
  Version table:
     1.0+noroms-0ubuntu11 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

I still believe that this problem has something to do with a package missing in the repository. However I'll change the bug's status to "Invalid". Thank you.

Revision history for this message
Artem Andreev (just-wow) wrote :

Not reproducable any more.

Changed in qemu-kvm (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

> I still believe that this problem has something to do with a package
> missing in the repository. However I'll change the bug's status to

Yes - it was pointed out to me that the qemu-common package was
published four hours after the qemu-kvm package, which would
explain this and confirm your original suspicion.

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.