Package: virtualbox-ose
Version: 2.2.2-dfsg-2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

As reported in https://launchpad.net/bugs/379878:

I've installed virtualbox-2.2, which removed virtualbox-ose and apparently it 
created (or only touched) a dangling/wrong symlink:
  /usr/src/vboxdrv-2.2.2 -> ../share/virtualbox/src/vboxdrv

There might be something in the removal process of one of the 
2.2.2-dfsg-2ubuntu1 packages or in the installation of virtualbox-2.2 (from 
virtualbox.org), which created (or only touched) this (and caused later 
problems when installing virtualbox-ose/virtualbox-ose-source again, which uses 
that directory for installation (and caused DKMS to fail)).

I could reproduce this as follows:
1. Remove virtualbox-ose-source
2. Install virtualbox-2.2, this will install a symlink: /usr/src/vboxdrv-2.2.2 
-> ../share/virtualbox/src/vboxdrv
3. "dpkg -i" virtualbox-ose-source, virtualbox-ose, virtualbox-ose-qt
4. This will install virtualbox-ose-source, _then_ remove virtualbox-2.2 (which 
leads to the problem)

Proposed solution:
Make virtualbox-ose-source conflict with the virtualbox.org virtualbox-x 
packages.

  * virtualbox-ose-source: conflict with virtualbox.org packages
    (LP: #379878).
    - debian/control

We thought you might be interested in doing the same. 
diff -u virtualbox-ose-2.2.2-dfsg/debian/control virtualbox-ose-2.2.2-dfsg/debian/control
--- virtualbox-ose-2.2.2-dfsg/debian/control
+++ virtualbox-ose-2.2.2-dfsg/debian/control
@@ -116,7 +116,7 @@
          dkms,
          libc6-dev,
          linux-headers-generic | linux-headers
-Conflicts: virtualbox-source
+Conflicts: virtualbox-source, virtualbox, virtualbox-2.0, virtualbox-2.1, virtualbox-2.2
 Replaces: virtualbox-source
 Provides: virtualbox-source
 Description: x86 virtualization solution - kernel module source

Reply via email to