我正在尝试安装virtualbox并使其工作,但似乎无法实现。在图像中,您可以看到输出。
如果我跑步,VBoxManage --version
我会得到:
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
4.3.10_Ubuntur93012
但是virtualbox-dkms已经安装并且是最新版本。所以我尝试重新安装它,我得到了:
任何帮助将不胜感激。
编辑:
重新配置后的输出(@ M.Tarun建议):
编辑2:
还按照@Hmayag的指示安装了源代码,清除了virtualbox并再次安装了它,但是我遇到了同样的问题。
uname -a
和dpkg -l | grep linux-headers
?
Module build for the currently running kernel was skipped since the kernel sources for this kernel does not seem to be installed.
检查是否已安装了那些。确保它们与正在运行的内核版本匹配。我认为apt-get source linux-image-$(uname -r)
应该这样做。