Seeing that there was a new VirtualBox release, I tried to install it on Kubuntu 15.04…
However, now all of my VBox 4.3 packages in the ubuntu repositories are broken (Virtualbox is provided by Virtualbox-5.0 which is not installed), and VirtualBox 5.0 won't work as it says DKMS is broken:
Uninstalling old VirtualBox DKMS kernel modules/etc/init.d/vboxdrv: 302: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found ...done. Trying to register the VirtualBox kernel modules using DKMS/etc/init.d/vboxdrv: 327: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found ...failed! (Failed, trying without DKMS)
dpkg: error processing package virtualbox-dkms (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of virtualbox-qt: virtualbox-qt depends on virtualbox (= 4.3.26-dfsg-2ubuntu2); however: Package virtualbox is not configured yet. Package virtualbox-5.0 which provides virtualbox is not installed. dpkg: error processing package virtualbox-qt (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates it's a follow-up error from a previous failure.
Even though VirtualBox 5.0 was installed via deb package from the Oracle website.
What can I do to either completely remove 5.0 and install VirtualBox 4.3, or correctly install virtualbox 5.0?
I've already tried uninstalling VirtualBox 5.0 (via apt-get purge), then installing 4.3, but get the error relating to VirtualBox being provided by the package virtualbox-5.0.