Upgrade from qemu 1.0+noroms-0ubuntu14.11 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Saucy |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
SRU Justification
1. Impact: cloud archive users cannot upgrade cleanly
2. Development fix: properly mark qemu-utils as replacing qemu-kvm to force conflicting files to be replaced.
3. Stable fix: same as development fix
4. Test case: see below. (basically, install grizzly cloud archive on precise; then upgrade to havana)
5. Regression potential: we are only marking qemu-utils as conflict/replacing old qemu-kvm, so there should be no regressions.
=======
When upgrading from the grizzly qemu packages to the havana packages (1.0+noroms-
Preparing to replace qemu-utils 1.0+noroms-
Unpacking replacement qemu-utils ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/bin/qemu-io', which is also in package qemu-kvm 1.0+noroms-
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package qemu-system-common.
dpkg: considering deconfiguration of qemu-utils, which would be broken by installation of qemu-system-common ...
dpkg: yes, will deconfigure qemu-utils (broken by qemu-system-
Unpacking qemu-system-common (from .../qemu-
De-configuring qemu-utils ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/share/
apt-get install -f will finish the installation.
Changed in qemu (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in qemu (Ubuntu Saucy): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Thanks for reporting this bug.
In raring, qemu-utils had Replaces: qemu-kvm. In saucy it doesn't any more.
If you upgrade using do-release-upgrade a step at a time, you don't see
this error. However, this will break LTS-to-LTS upgrades to trusty when
it is released.
qemu-utils must continue to have
Breaks: qemu-user (<< 0.11.1-2), qemu-kvm (<< 1.2.0.dfsg-1)
Replaces: qemu-user (<< 0.11.1-2), qemu-kvm (<< 1.2.0.dfsg-1)
status: confirmed
priority: high