我正在尝试使用以下命令安装 virtualbox 包:
sudo apt-get install virtualbox
这将安装三个包;virtualbox、virtualbox-qt 和 virtualbox-dkms。但是安装没有完成并且在安装 virtualbox-dkms 时卡住了:
selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../6-virtualbox-dkms_5.2.10-dfsg-6_all.deb ...
Unpacking virtualbox-dkms (5.2.10-dfsg-6) ...
Selecting previously unselected package virtualbox.
Preparing to unpack .../7-virtualbox_5.2.10-dfsg-6_amd64.deb ...
Unpacking virtualbox (5.2.10-dfsg-6) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../8-virtualbox-qt_5.2.10-dfsg-6_amd64.deb ...
Unpacking virtualbox-qt (5.2.10-dfsg-6) ...
Setting up libqt5x11extras5:amd64 (5.9.5-0ubuntu1) ...
Setting up libvncserver1:amd64 (0.9.11+dfsg-1ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
ureadahead will be reprofiled on next reboot
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Setting up virtualbox-dkms (5.2.10-dfsg-6) ...
Loading new virtualbox-5.2.10 DKMS files...
Building for 4.15.0-22-generic
Building initial module for 4.15.0-22-generic
Progress: [ 70%] [########################################..................]
我之前使用的是 ubuntu-16.04,这个过程似乎有效。其他人也遇到了类似的问题,并发布了这线。
我不知道该如何让它工作。有什么解决方法吗?
提前致谢
答案1
事实证明,禁用安全启动就可以解决问题。因此问题得到了解决。