Ubuntu 11.10 oneiric 64x... cannot upgrade to 4.1.6

Discussions related to using VirtualBox on Linux hosts.
gamblor01
Posts: 13
Joined: 28. May 2010, 00:40
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7 and XP

Re: Ubuntu 11.10 oneiric 64x... cannot upgrade to 4.1.6

Post by gamblor01 »

I have been having this same problem and I think I fixed it today. Turns out that the virtualbox update never deleted the old directory from /var/lib/dkms/vboxhost. In my case the old version was 4.1.4. I'm currently running 4.1.8 but I swear I was running 4.1.4, then 4.1.6, and now 4.1.8. So I think the problem actually began between the 4.1.4 and 4.1.6 releases.

To resolve this simply delete the old directory and then run the setup again:

Code: Select all

$ cd /var/lib/dkms/vboxhost
$ sudo rm -rf 4.1.4
$ sudo /etc/init.d/vboxdrv setup

Always double-check your commands and execute them with caution. If you're scared that you might lose something then move the directory elsewhere instead of deleting it. But after doing this the setup should complete without any error about a missing dkms.conf file:

Code: Select all

 * Stopping VirtualBox kernel modules                                                                    [ OK ] 
 * Uninstalling old VirtualBox DKMS kernel modules                                                       [ OK ] 
 * Trying to register the VirtualBox kernel modules using DKMS                                           [ OK ] 
 * Starting VirtualBox kernel modules 
Post Reply