首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >更新中断VirtualBox

更新中断VirtualBox
EN

Ask Ubuntu用户
提问于 2019-03-25 16:16:41
回答 1查看 905关注 0票数 2

操作系统: Ubuntu 16.04 64位w/ Gnome经典版

VB: 5.2.26 r128414 (Qt5.6.1)

我在VirtualBox中运行了3MSWindowsVM。这些越南船民已经运行多年了。今天早上,由于更新,我重新启动了系统。当我试图运行任何VM时,我收到了以下错误:

代码语言:javascript
复制
`The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there 
is a permission problem with /dev/vboxdrv. Please reinstall the kernelmodule by 
executing '/sbin/vboxconfig' as root. where: suplibOsInit what: 
3 ERR_VM_DRIVER_NOT_INSTALLED (-1908)
- The support driver is not installed. On linux, open returned ENOENT. The 
VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a 
permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/sbin/vboxconfig'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support 
driver is not installed. On linux, open returned ENOENT.'

当我运行命令时,我会收到以下错误:

代码语言:javascript
复制
`vboxdrv.sh: Stopping VirtualBox services.
`vboxdrv.sh: Starting VirtualBox services.
`vboxdrv.sh: Building VirtualBox kernel modules.
`vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.
`There were problems setting up VirtualBox.  To re-start the set-up process, run
/sbin/vboxconfig
as root.

在浏览了这里之后,我决定降级到V5.1,通过这个职位。扩展包安装失败。我能够启动其中一个VB,但现在连VB的GUI都无法运行。

以下是崩溃日志:

代码语言:javascript
复制
virtualbox-5.1.0.crash detected /var/crash/virtualbox-5 VirtualBox Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

从我所链接的帖子中,我正在尝试第一个答案,但系统现在找不到这个包裹:

代码语言:javascript
复制
sudo apt remove virtualbox*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package virtualbox-5.1_5.1.38-122592~Ubuntu~xenial_amd64.deb
E: Couldn't find any package by glob 'virtualbox-5.1_5.1.38-122592~Ubuntu~xenial_amd64.deb'
E: Couldn't find any package by regex 'virtualbox-5.1_5.1.38-122592~Ubuntu~xenial_amd64.deb'

我尝试了第一个答案的其余部分,在成功安装之后,我犯了以下错误:

代码语言:javascript
复制
The VirtualBox kernel modules do not match this version of VirtualBox. The installation 
of VirtualBox was apparently not successful. Executing
'/sbin/vboxconfig'
may correct this. Make sure that you are not mixing builds of VirtualBox from 
different sources.
where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) 
- The installed support driver doesn't match the version of the user.   

/sbin/vboxconfig没有修复该问题。现在我无法移除测试构建。我不知道下一步该去哪里。

EN

回答 1

Ask Ubuntu用户

发布于 2019-03-25 17:54:11

对于当前显示的错误,我的建议是在完全删除之前的包后重新安装Virtualbox。

我尝试过使用/sbin/vboxconfig,但它从未真正解决这个问题,即使您使用根帐户运行它。解决这个问题的最好方法是安装针对不同版本内核的virtualbox可用的来宾和主机模块。

因此,要了解内核的当前版本,只需键入uname -r

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1128582

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档