Ubuntu上的VirtualBox VERR_VM_DRIVER_VERSION_MISMATCH

Kir*_*ill 6 virtualbox ubuntu-14.04

我试图在Ubuntu 14.04上安装VirtualBox.我从Ubuntu存储库安装了VirtualBox:

sudo apt-get install virtualbox
Run Code Online (Sandbox Code Playgroud)

然后我将我的用户添加到vboxusers:

sudo usermod -G vboxusers -a user
Run Code Online (Sandbox Code Playgroud)

我还为我的vb vsion安装了一个extrapack:

wget http://download.virtualbox.org/virtualbox/5.0.10/Oracle_VM_VirtualBox_Extension_Pack-4.3.36-105129.vbox-extpack

sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.10-104061.vbox-extpack
Run Code Online (Sandbox Code Playgroud)

但是当我尝试启动虚拟机时,我收到一个错误:

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  '/etc/init.d/vboxdrv 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)

我没有/etc/init.d/vboxdrv文件.我该如何解决这个问题?

Kir*_*ill 12

我删除了所有的virualbox包:

sudo apt-get purge 'virtualbox*'
Run Code Online (Sandbox Code Playgroud)

然后我安装了virtualbox v.5

sudo apt-get install virtualbox-5.0
Run Code Online (Sandbox Code Playgroud)

之后我在BIOS中启用了虚拟化.现在它有效.


gil*_*ile 7

检查您安装的virtualbox版本

dpkg --list 'virtualbox*'
Run Code Online (Sandbox Code Playgroud)

可能与扩展包不匹配。

删除安装

sudo apt-get autoremove 'virtualbox*'
Run Code Online (Sandbox Code Playgroud)

不要安装Ubuntu的软件仓库,而应按照Oracle Virtualbox官方下载页面中有关基于Debian的Linux发行版的说明进行全新安装。

在安装扩展包之前,请检查Virtualbox是否正在运行。


小智 6

我在 ubuntu 16.4 中启动虚拟机客户端时遇到同样的错误。
\n错误信息

\n\n

巧合的是,我在文件/var/crash/_usr_lib_virtualbox_VirtualBox.0.crash中注意到 以下消息:

\n\n
\n

标题:VirtualBox 在 QMessageLogger::fatal() 中因 SIGABRT 崩溃\n 不可报告原因:请注意 Paketversionen\n 安装程序。Bitte aktualisieren Sie die folgenen Pakete und pr\xc3\xbcfen\n Sie, ob das Problem danach noch auftritt:

\n\n

virtualbox-dkms

\n
\n\n

翻译:您安装了一些过时的软件包版本。请更新以下软件包并检查更新后问题是否仍然存在:

\n\n

命令后:

\n\n
sudo apt-get install --only-upgrade virtualbox-dkms\n
Run Code Online (Sandbox Code Playgroud)\n\n

一切都好:)

\n