package qemu 0.9.1-7ubuntu1 failed to install/upgrade: trying to overwrite `/usr/share/man/man8/qemu-nbd.8.gz', which is also in package kvm

Bug #301717 reported by Anders Kirchenbauer
28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KVM
Invalid
Undecided
Unassigned
kvm (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Jaunty by Mathias Gug
qemu (Ubuntu)
Won't Fix
Undecided
Unassigned
Declined for Jaunty by Mathias Gug

Bug Description

Binary package hint: qemu

manpage is also in KVM which prevents installation.

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: trying to overwrite `/usr/share/man/man8/qemu-nbd.8.gz', which is also in package kvm
NonfreeKernelModules: wl nvidia
Package: qemu 0.9.1-7ubuntu1
SourcePackage: qemu
Title: package qemu 0.9.1-7ubuntu1 failed to install/upgrade: trying to overwrite `/usr/share/man/man8/qemu-nbd.8.gz', which is also in package kvm
Uname: Linux 2.6.27-7-generic x86_64

Revision history for this message
Anders Kirchenbauer (k51) wrote :
Anders Kaseorg (andersk)
Changed in qemu:
status: New → Confirmed
Changed in kvm:
status: New → Invalid
Revision history for this message
Anders Kaseorg (andersk) wrote :

I see. This was intended to be solved by kvm 1:79+dfsg-0ubuntu3, which FTBFS because of a typo (s/man1/man8/):

mv /build/buildd/kvm-79+dfsg/debian/tmp/usr/share/man/man1/qemu-nbd.8 /build/buildd/kvm-79+dfsg/debian/tmp/usr/share/man/man8/kvm-nbd.8
mv: cannot stat `/build/buildd/kvm-79+dfsg/debian/tmp/usr/share/man/man1/qemu-nbd.8': No such file or directory
make: *** [install] Error 1
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2

However, the qemu package ALSO needs to be updated to conflict with kvm (< 1:79+dfsg-0ubuntu3), so that the packages will be upgraded in the right order.

Changed in kvm:
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Soren says that he committed a change to kvm that should fix this.

:-Dustin

Changed in kvm:
status: Confirmed → Fix Released
Changed in qemu:
status: Confirmed → Fix Released
Revision history for this message
Ted Gould (ted) wrote :

This is set as "Fix Released" but it just happened to me upgrading a machine from Hardy to Karmic. I'm not sure if the fix regressed or if that large a change missed some packages in the middle. But I beleive LTS to any release is supported.

Preparing to replace qemu 0.9.1-5ubuntu3 (using .../qemu_0.10.5-1ubuntu1_i386.deb) ...
Unpacking replacement qemu ...
dpkg: error processing /var/cache/apt/archives/qemu_0.10.5-1ubuntu1_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/man8/qemu-nbd.8.gz', which is also in package kvm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/qemu_0.10.5-1ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I'll mark this confirmed for you, Ted.

:-Dustin

Changed in qemu (Ubuntu):
status: Fix Released → Confirmed
Changed in qemu (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.