我是 Linux 新手,在安装 vbox (ubuntu 16.04 serverx64) 时卡住了。我从官方网站下载了 .deb 存档 (virtualbox-5.1_5.1.8-111374~Ubuntu~xenial_amd64.deb)。我多次更新依赖项并收到相同的错误:
valera@ubuntu-server:~$ sudo dpkg -i virtualbox-5.
virtualbox-5.0_5.0.10-104061~Ubuntu~wily_amd64.deb virtualbox-5.1_5.1.8-111374~Ubuntu~xenial_amd64.deb
valera@ubuntu-server:~$ sudo dpkg -i virtualbox-5.1_5.1.8-111374~Ubuntu~xenial_amd64.deb
Selecting previously unselected package virtualbox-5.1.
(Reading database ... 262091 files and directories currently installed.)
Preparing to unpack virtualbox-5.1_5.1.8-111374~Ubuntu~xenial_amd64.deb ...
Unpacking virtualbox-5.1 (5.1.8-111374~Ubuntu~xenial) ...
Setting up virtualbox-5.1 (5.1.8-111374~Ubuntu~xenial) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
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.
Processing triggers for systemd (229-4ubuntu10) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
尝试按照说明进行修复
valera@ubuntu-server:~$ 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.
(也尝试以 root 身份执行此类操作,但答案是一样的)
root@ubuntu-server:/home/valera# /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.
请帮帮我...