Unable to install qemu-system (from repo) on midway due to dependency issues on saucy-based nano/server rootfs

Bug #1284667 reported by Clark Laughlin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Fix Released
High
Riku Voipio

Bug Description

I tried running my LAVA job on a midway and it failed when using both the nano and server images. It runs correctly on arndale.

https://validation.linaro.org/scheduler/job/111913/log_file

This is the step that failed:

+ apt-get -y install qemu-system libvirt-bin
 Reading package lists... 0%Reading package lists... 100%Reading package lists... Done
 Building dependency tree... 0%Building dependency tree... 0%Building dependency tree... 50%Building dependency tree... 50%Building dependency tree... 70%
 Building dependency tree
 Reading state information... 0%Reading state information... 0%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-system : Depends: qemu-linaro-keymaps (>= 1.7.0-2013.12+git74+20140224+c58e291-1linarosaucy2) but it is not going to be installed
  Recommends: vde2 but it is not going to be installed
 E: Unable to correct problems, you have held broken packages.

Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Clark Laughlin (clark-laughlin) wrote :

I changed the test to install vde2... no difference in behavior. I think vde2 was only recommended anyway.

The problem is probably not with qemu-system, but something with qemu-linaro-keymaps or one of its dependencies:

+ sudo apt-get -y install qemu-system libvirt-bin python-libvirt ntpdate
...
ntpdate is already the newest version.
 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-system : Depends: qemu-linaro-keymaps (>= 1.7.0-2013.12+git74+20140224+c58e291-1linarosaucy2) but it is not going to be installed
 E: Unable to correct problems, you have held broken packages.

Revision history for this message
Fathi Boudra (fboudra) wrote :

I'm able to reproduce. it seems qemu-linaro-keymaps 1.7.0-2013.12+git74 binary package is missing from repo.linaro.org.

Relevant CI jobs:
https://ci.linaro.org/jenkins/job/ubuntu-builder/169/console
https://ci.linaro.org/jenkins/job/post-build-repo/278/console

we can see the package qemu-linaro-keymaps isn't generated and as a result, not uploaded.

Changed in linaro-ubuntu:
assignee: nobody → Riku Voipio (riku-voipio)
Revision history for this message
Clark Laughlin (clark-laughlin) wrote :

Ah, ok. That's what I was about to mention. I ran again, forcing an install of qemu-linaro-keymaps, and got this:

  qemu-system : Depends: qemu-linaro-keymaps (>= 1.7.0-2013.12+git74+20140224+c58e291-1linarosaucy2) but 1.7.0-2013.12+git73+20140221+105a060-1linarosaucy2 is to be installed

So, at least an older version is there, but not the one it wants.

Any idea why it's installing when the test runs on Arndale, but not Midway?

Revision history for this message
Riku Voipio (riku-voipio) wrote :

I can fix this tomorrow, probably something wonky with repo. Also, for apt-get problems, please provide the contents of /etc/apt/sources.list and all files in /etc/apt/sources.list.d/*

There is probably some difference in the files in your midway/arndale setups.

Revision history for this message
Fathi Boudra (fboudra) wrote :

It doesn't work on Arndale either. It worked until build #73 but is broken since build #74:
https://validation.linaro.org/scheduler/job/112673/log_file#L_31_766

description: updated
description: updated
Revision history for this message
Riku Voipio (riku-voipio) wrote :

For some reason, x86_64 static builds stopped working with the same toolchain that built last time succesfully. The fixes should be there (knock wood), but we'll only know until the build finishes.

> we can see the package qemu-linaro-keymaps isn't generated and as a result, not uploaded.

This is expected for armhf builds. keymaps is arch all package, which we build as part of x86_64 build.

Changed in linaro-ubuntu:
status: Confirmed → Fix Committed
Revision history for this message
Fathi Boudra (fboudra) wrote :

Thanks Riku. Fix verified.

Changed in linaro-ubuntu:
milestone: none → 14.02
status: Fix Committed → 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.