无法在 Ubuntu 上安装 virtualbox

无法在 Ubuntu 上安装 virtualbox

虽然 Virtualbox-dkms 和标头已经安装,但它仍然给出此错误。我什至尝试重新安装 dkms 和标头,但没有任何更新。

WARNING: The character device /dev/vboxdrv does not exist.
         Please install the virtualbox-dkms package and the appropriate
         headers, most likely linux-headers-generic.
     You will not be able to start VMs until this problem is fixed.
5.2.34_Ubuntur133883

按照建议重新配置https://askubuntu.com/questions/465454/problem-with-the-installation-of-virtualbox我得到类似的东西:

DKMS: install completed.
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.
● virtualbox.service - LSB: VirtualBox Linux kernel module
   Loaded: loaded (/etc/init.d/virtualbox; generated)
   Active: failed (Result: exit-code) since Sun 2020-01-05 11:38:19 IST; 6ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 23679 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)

Jan 05 11:38:19 kajoo-weapon systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Jan 05 11:38:19 kajoo-weapon virtualbox[23679]:  * Loading VirtualBox kernel modules...
Jan 05 11:38:19 kajoo-weapon virtualbox[23679]:  * modprobe vboxdrv failed. Please use 'dmesg' to find out why
Jan 05 11:38:19 kajoo-weapon virtualbox[23679]:    ...fail!
Jan 05 11:38:19 kajoo-weapon systemd[1]: virtualbox.service: Control process exited, code=exited status=1
Jan 05 11:38:19 kajoo-weapon systemd[1]: virtualbox.service: Failed with result 'exit-code'.
Jan 05 11:38:19 kajoo-weapon systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.

相关内容