broken symlink in qemu-kvm package

Bug #427127 reported by Jeremy Kerr
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Fix Released
High
Dustin Kirkland 

Bug Description

Binary package hint: qemu-kvm

The qemu-kvm pacakge contains a broken symlink:

[jk@b1 ~]$ ls -l /usr/share/kvm
lrwxrwxrwx 1 root root 8 2009-09-10 10:49 /usr/share/kvm -> qemu-kvm

The /usr/share/qemu-kvm directory does not exist. This means that packages that use the /usr/share/kvm directory will fail to install:

[jk@b1 ~]$ sudo apt-get install kvm-pxe
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  kvm-pxe
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/156kB of archives.
After this operation, 250kB of additional disk space will be used.
(Reading database ... 105789 files and directories currently installed.)
Unpacking kvm-pxe (from .../kvm-pxe_5.4.3+dfsg-0.2ubuntu1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kvm-pxe_5.4.3+dfsg-0.2ubuntu1_all.deb (--unpack):
 trying to overwrite `/usr/share/kvm', which is also in package qemu-kvm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/kvm-pxe_5.4.3+dfsg-0.2ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Workaround is to change this symlink to point to /usr/share/qemu instead.

[jk@b1 ~]$ apt-cache policy qemu-kvm
qemu-kvm:
  Installed: 0.11.0~rc2-0ubuntu2
  Candidate: 0.11.0~rc2-0ubuntu2
  Version table:
 *** 0.11.0~rc2-0ubuntu2 0
        500 http://mirror.internode.on.net karmic/main Packages
        100 /var/lib/dpkg/status

Related branches

Changed in qemu-kvm (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu-kvm - 0.11.0~rc2-0ubuntu3

---------------
qemu-kvm (0.11.0~rc2-0ubuntu3) karmic; urgency=low

  * debian/links: fix broken /usr/share/kvm symlink to point to
    /usr/share/qemu, LP: #427127

 -- Dustin Kirkland <email address hidden> Wed, 09 Sep 2009 23:30:38 -0500

Changed in qemu-kvm (Ubuntu):
status: In Progress → 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.