Public bug reported:

Binary package hint: qemu-kvm

The qemu-kvm pacakge contains a broken symlink:

[...@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:

[...@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.

[...@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

** Affects: qemu-kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
broken symlink in qemu-kvm package
https://bugs.launchpad.net/bugs/427127
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to