Virtualbox 安装失败?

Ube*_*eak 11 virtualbox kernel virtualization

我最近下载了 Virtualbox 5,并运行了从网站上获得的 .deb 文件。我尝试使用 MS-DOS 6.22,但出现错误消息。

 '[RTR3InitEx failed with rc=-1912 (rc=-1912)

 The VirtualBox kernel modules do not match this version of 
 VirtualBox. The installation of VirtualBox was apparently not 
 successful. Executing

 '/sbin/rcvboxdrv setup'

 may correct this. Make sure that you do not mix the OSE version and 
 the PUEL version of VirtualBox.

 where: supR3HardenedMainInitRuntime what: 4 
 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support 
 driver doesn't match the version of the user. ]'
Run Code Online (Sandbox Code Playgroud)

我什至尝试运行建议的命令,但它失败了。

小智 7

唯一帮助我的是卸载,virtualbox-dkms因为该软件包是旧版本:

sudo dpkg -P virtualbox-dkms
Run Code Online (Sandbox Code Playgroud)

然后我重新安装virtualbox,它工作。


fos*_*nux 6

跑:

sudo /sbin/rcvboxdrv setup
sudo apt -f install
Run Code Online (Sandbox Code Playgroud)

如果这不起作用:

sudo /etc/init.d/vboxdrv setup 
Run Code Online (Sandbox Code Playgroud)


Bev*_*vor 5

我有同样的问题。我想从网站安装最新版本,但我安装了一个过时的 Virtualbox 存储库版本(由包管理器)。这就是为什么我仍然有一些内核模块在运行,这些模块在卸载过程中没有被删除。我通过以下方式解决了它:

apt-get remove virtualbox
apt-get autoremove [absolutely needed to remove the old kernel modules]
/sbin/vboxconfig [after you install the version from the website with dpkg -i]
Run Code Online (Sandbox Code Playgroud)

顺便说一句:基本上你不应该绕过包管理器,但我无法运行虚拟机,想弄清楚问题是否存在于最新版本中。