After the 14.10 update to VirtualBox, I can no longer run my boxes. Of note, running sudo service virtualbox status
returns VirtualBox kernel module is not loaded
and running sudo service virtualbox restart
shows:
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* No suitable module for running kernel found
[fail]
The VirtualBox GUI, when I try to run a box, pops up a dialog saying that I should run sudo /etc/init.d/vboxdrv setup
, but there is no /etc/init.d/vboxdrv
on my 14.10 installation.
This is reminiscent of this question. Per some of the answers, I tried uninstalling (with purge
) and reinstalling VirtualBox. This did not help. However, I was unable to install:
linux-headers-`uname -r`
because there is no package named linux-headers-3.13.0-30-generic
. I do have linux-headers-generic
and linux-source
installed, as well as dkms
, but the reinstall still fails:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
vde2
The following NEW packages will be installed:
virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/21.1 MB of archives.
After this operation, 87.6 MB of additional disk space will be used.
Selecting previously unselected package virtualbox.
(Reading database ... 253183 files and directories currently installed.)
Preparing to unpack .../virtualbox_4.3.18-dfsg-2ubuntu1_amd64.deb ...
Unpacking virtualbox (4.3.18-dfsg-2ubuntu1) ...
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../virtualbox-dkms_4.3.18-dfsg-2ubuntu1_all.deb ...
Unpacking virtualbox-dkms (4.3.18-dfsg-2ubuntu1) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../virtualbox-qt_4.3.18-dfsg-2ubuntu1_amd64.deb ...
Unpacking virtualbox-qt (4.3.18-dfsg-2ubuntu1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for mime-support (3.55ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Setting up virtualbox (4.3.18-dfsg-2ubuntu1) ...
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* No suitable module for running kernel found
[fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up virtualbox-dkms (4.3.18-dfsg-2ubuntu1) ...
Loading new virtualbox-4.3.18 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-30-generic
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* No suitable module for running kernel found
[fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Setting up virtualbox-qt (4.3.18-dfsg-2ubuntu1) ...
Processing triggers for menu (2.1.47ubuntu1) ...
So... how do I get "kernel source for this kernel" (3.13.0-30-generic
) or otherwise get VirtualBox to install properly?
lsb_release -a
anduname -r
? Also, have you done asudo apt-get update
andsudo apt-get dist-ugprade
? -- Edit: 3.16.0-30 should be currentlsb_release -a
says "No LSB modules are available", then has information from 14.10.uname -r
reports3.13.0-30-generic
. I just did asudo apt-get update
andsudo apt-get upgrade
as part of trying to work this out.sudo apt-get dist-upgrade
reports nothing to do. Note that this machine had 14.04 on it until a week or so ago, when I upgraded to 14.10. I saw the3.16.0-30
when I poked around the Ubuntu site, but I'm not sure why I'm not seeing it withapt-get
. Thanks!/etc/apt/sources.list
It shouldn't say "trusty" anywhere, but "utopic"trusty
references are commented-out references to thenginx-devel
PPA. Bizzarely, Synaptic reports thatlinux-image-generic
is not installed, and that installing it would installlinux-image-3.16.0.30-generic
. My guess is that I need to do that, as it didn't take effect in Trusty->Utopic upgrade for some reason. Thoughts? Thanks!linux-generic
,linux-image-generic
, linux-headers-generic` andlinux-signed-generic
all installed on my system.