I am having some problems installing Virtualbox on my Elementary Freya. Due to some hardware, I needed to install Linux Kernel 4.4. However, I can't seem to install Virtualbox properly. (I was using rc3 previously, just updated to rc7)
$ uname -r
4.4.0-040400rc7-generic
I downloaded and tried both version from the website.
virtualbox-5.0_5.0.12-104815-Ubuntu-trusty_amd64.deb
virtualbox-5.0_5.0.12-104815-Ubuntu-wily_amd64.deb
Both of it fails.
$ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSERROR (dkms apport): kernel package linux-headers-4.4.0-040400rc7-generic is not supported
Error! Bad return status for module build on kernel: 4.4.0-040400rc7-gen onsult /var/lib/dkms/vboxhost/5.0.12/build/make.log for more information....failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
Any ideas how to fix this? Many thanks in advance.
sudo apt-get --reinstall install virtualbox-dkms
and let me know :). Also see heresudo apt-get install build-essential linux-headers-`uname -r` dkms
?dkms
andbuild-essential
are both up-to-date, andlinux-headers-4.4.0
cannot be downloaded through apt-get. I downloaded the kernel update from here: kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc7-wily