在Ubuntu 14.04上安装Virtual box时,出现以下消息:
未安装内核驱动程序(rc = -1908)
VirtualBox Linux内核驱动程序(vboxdrv)未加载,或/ dev / vboxdrv出现权限问题。请通过执行重新安装内核模块
'/etc/init.d/vboxdrv设置'
作为根。如果您的发行版中提供了该软件包,则应先安装DKMS软件包。该软件包跟踪Linux内核更改,并在必要时重新编译vboxdrv>内核模块。
然后在链接上 输入以下命令:
sudo apt-get install linux-headers-generic build-essential dkms
sudo apt-get remove --purge virtualbox-dkms
sudo apt-get install virtualbox-dkms
在运行最后一条命令时
sudo apt-get install virtualbox-dkms
我收到一个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
virtualbox-dkms : Depends: virtualbox (>= 4.3.10-dfsg-1)
E: Unable to correct problems, you have held broken packages.
仅供参考,我检查了Virtual Box的版本,我得到4.3.16 r95972
它使用解决方案
sudo apt-get install build-essential module-assistant
sudo m-a prepare
第二,如错误重新安装内核模块中所述。
sudo /etc/init.d/vboxdrv setup
更多详细信息来自链接