[Pkg-virtualbox-devel] Bug#530323: virtualbox.org packages should add "Provides: virtualbox-source"

Daniel Hahler debian-bugs at thequod.de
Thu May 28 23:40:47 UTC 2009


Michael Meskes wrote:

>> 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
> neither of these files exist in the Debian package.

Sorry for not having checked this.

I've assumed that the virtualbox-ose-source package would have the same
layout, but this has probably been changed in Ubuntu when moving to DKMS.

>> 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)
> 
> Sounds like a problem with the upstream package, huh? 

Yes, and I've assumed that Debian might have the same problem.

I've filed a bug at virtualbox.org, proposing that they add a "Provides:
virtualbox-source", which would solve that problem (as far as I can see).

Another option I've tried has been to let virtualbox-ose-source conflict
with the upstream package names (virtualbox, virtualbox-2.0,
virtualbox-2.1, virtualbox-2.2), but this was a too quick/dumb shot,
since we (in Ubuntu) use those names in "Provides" for virtualbox-ose
itself.
(Felix reintroduced this changed (added some time ago by myself, but
then removed again) in his last merge from Debian; I'm not sure if it
makes any sense?!).


So, after all this does not appear to affect the package in Debian.
If the following works for you, all is fine at your side:

0. remove any virtualbox* packages
1. Install virtualbox-2.2, this will install a symlink:
/usr/src/vboxdrv-2.2.2 -> ../share/virtualbox/src/vboxdrv
2. Install virtualbox-ose-source
3. Remove virtualbox-2.2, e.g. by installing virtualbox-ose
4. Make sure that all files from virtualbox-ose-source are still
installed, and e.g. manually building the kernel module works





More information about the Pkg-virtualbox-devel mailing list