在14.10更新为VirtualBox之后,我不能再运行我的盒子了。值得注意的是,运行sudo service virtualbox status
退货VirtualBox kernel module is not loaded
和运行sudo service virtualbox restart
显示:
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* No suitable module for running kernel found
[fail]
当我尝试运行一个框时,VirtualBox GUI会弹出一个对话框,提示我应该运行sudo /etc/init.d/vboxdrv setup
,但/etc/init.d/vboxdrv
14.10安装中没有此对话框。
这使人想起了这个问题。根据一些答案,我尝试卸载(使用purge
)并重新安装VirtualBox。这没有帮助。但是,我无法安装:
linux-headers-`uname -r`
因为没有名为的软件包linux-headers-3.13.0-30-generic
。我有linux-headers-generic
和linux-source
安装,以及dkms
,但重新安装还是失败:
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) ...
那么...如何获取“此内核的内核源”(3.13.0-30-generic
)或以其他方式使VirtualBox正确安装?
lsb_release -a
说“没有可用的LSB模块”,然后提供来自14.10的信息。uname -r
报告3.13.0-30-generic
。我只是做了一个sudo apt-get update
,sudo apt-get upgrade
作为尝试解决此问题的一部分。sudo apt-get dist-upgrade
报告无关。请注意,直到一周左右(当我升级到14.10之前),该计算机上都装有14.04。3.16.0-30
当我在Ubuntu网站上闲逛时,我看到了,但是我不确定为什么我没有看到它apt-get
。谢谢!
/etc/apt/sources.list
“在任何地方都不应该说“可信任”,而应该说“ utopic”)
trusty
引用是对nginx-devel
PPA的注释掉引用。令人震惊的是,Synaptic报告linux-image-generic
未安装,并且将安装它linux-image-3.16.0.30-generic
。我的猜测是我需要这样做,因为由于某些原因它在Trusty-> Utopic升级中没有生效。有什么想法吗?谢谢!
linux-generic
,linux-image-generic
,Linux的头,generic`并linux-signed-generic
全部安装在我的系统上。
lsb_release -a
和uname -r
?另外,您是否已完成sudo apt-get update
和sudo apt-get dist-ugprade
?-编辑:3.16.0-30应该是最新版本