无法在ubuntu 15.10

时间:2016-10-13 11:58:31

标签: virtualbox ubuntu-15.10

我将Virtualbox的版本从5.0.4更新到5.1.9,但无法使用。错误消息如下:enter image description here

请按以下步骤操作:

$ uname -a
 Linux pc-name 4.2.0-42-generic #49-Ubuntu SMP Tue Jun 28 21:26:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

1)。运行以下命令卸载旧版本

sudo apt-get remove virtualbox - \ * && sudo apt-get purge virtualbox - \ * && sudo rm ~ / "VirtualBox VMs" -Rf && sudo rm ~ / .config / VirtualBox / -Rf

运行中存在以下主要错误:

Dpkg: Warning: The directory /usr/share/virtualbox is not empty when the virtualbox is uninstalled, so the directory is not deleted

2)。从源安装新版本(使用virtualbox.org提供的源代码)

sudo apt-get install -f virtualbox-5.1

运行中存在以下主要错误:

Unknown media type in type 'all / all'
Unknown media type in type 'all / allfiles'

Vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
As root.

3)。我使用dmesg视图来获取以下信息:

    [26211.111276] PPP MPPE Compression module registered
    [31955.864023] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
    [31958.462125] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
    [32012.883861] capability: warning: `VirtualBox 'uses 32-bit capabilities (legacy support in use)
    [32155.086381] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
    [32397.551309] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
    [33462.912350] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
    [34179.544392] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
    [34277.077660] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
    [34281.740848] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11

4)。然后我又跑了一次:

sudo dmesg --clear
sudo /sbin/vboxconfig

5)。建议以下错误

vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox. To re-start the set-up process, run
  /sbin/vboxconfig
As root.

6)。使用dmesg视图,没有得到任何信息。 7)。找到这些解决方案:8)。使用以下命令

sudo /usr/lib/virtualbox/vboxdrv.sh setup

建议以下错误:

vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

9)。 dmesg没有得到任何信息10)。使用

dpkg -l | grep virtualbox

获取以下信息

ii virtualbox-5.1 5.1.6-110634 ~ Ubuntu ~ wily amd64 Oracle VM VirtualBox

11)。使用

sudo/sbin/vboxconfig

获取以下信息

 vboxdrv.sh: Building VirtualBox kernel modules.
 vboxdrv.sh: Starting VirtualBox services.
 vboxdrv.sh: Building VirtualBox kernel modules.
 vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

 There were problems setting up VirtualBox. To re-start the set-up process, run
  /sbin/vboxconfig
 As root.
12)在这里,不知道如何处理。请帮帮我,非常感谢!

1 个答案:

答案 0 :(得分:0)

检查BIOS中是否启用了安全启动。如果是这样,请将其禁用。这些是16.04(它在14.04对我有用):

https://askubuntu.com/questions/762136/cannot-reinstall-virtualbox-on-ubuntu-16-04

https://unix.stackexchange.com/questions/282265/starting-virtualbox-kernel-modules-failed