Ticket #4095 (new defect)

Opened 7 years ago

Debian package: please add "Provides: virtualbox-source" to debian/control

Reported by: blueyed Owned by:
Priority: minor Component: other
Version: VirtualBox 2.2.2 Keywords:
Cc: Guest type: other
Host type: other


There's a problem if you do the following:

  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

This leads to the following: In 2. virtualbox-ose-source appears to install its files into the symlink's target. In 3. /usr/src/share/virtualbox/src/vboxdrv gets removed and a dangling symlink is left behind

I've tried to workaround this using "Conflicts", but (for some reason to clarify) we provide those names (virtualbox, virtualbox-2.0, virtualbox-2.1, virtualbox-2.2) ourselves.

The solution to this problems appears to be if you would add "Provides: virtualbox-source" to your packages (after all, they provide/ship it), since the packages in Debian/Ubuntu already conflict/replace/provide "virtualbox-source".

See for the bug in Launchpad.

Keep in mind that this might be wrong of course, so maybe wait if there's any negative feedback from the Debian maintainers.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use