无法在 ubuntu 15.10 上安装 virtualbox

Cannot install virtualbox on ubuntu 15.10

我是按照https://gist.github.com/PartTimeLegend/5328700操作的,但是 我得到以下错误:

Loading new virtualbox-5.0.14 DKMS files...
First Installation: checking all kernels...
Building only for 4.2.0-42-generic
Building initial module for 4.2.0-42-generic
Done.

vboxdrv:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxdrv.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.

vboxnetadp.ko:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxnetadp.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.

vboxnetflt.ko:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxnetflt.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.

vboxpci.ko:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxpci.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.

depmod.....

DKMS: install completed.

vboxweb.service is a disabled or a static unit, not starting it.
Job for virtualbox.service failed because the control process exited with error code. See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.

dmesg 发现错误:

[23970.809479] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
[24080.976410] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
[28028.539569] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11

我的 virtualbox 安装日志文件:

https://drive.google.com/open?id=0B9Z0DTPHWdIVVXk5VWQxcE5XQ2c

我在谷歌上搜索了很多并尝试了很多但直到现在都没有解决方案。如果有人可以在这里帮助我,那就太好了:) 非常感谢!

我在 Ubuntu 16.04 上通过禁用 BIOS 设置菜单中的 UEFI 安全启动解决了同样的问题。然后我就完全删除了 virtuabox 然后我就安装了 n

是的,n3uron3说的对,为了方便大家的需要,我加了一些细节。 我的电脑品牌是Acer,必须在BOIS中设置密码才能禁用UEFI Secure Boot,否则禁用UEFI Secure Boot选项是灰色的(不可用状态)。彻底卸载virtualbox之后再重新安装,就可以使用了。希望对大家有所帮助。