问题是当我尝试安装 virtualbox 时
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 Fri 2021-11-05 19:34:51 -05; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 7239 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
nov 05 19:34:51 eli-desktop systemd[1]: Starting LSB: VirtualBox Linux kernel module...
nov 05 19:34:51 eli-desktop virtualbox[7239]: * Loading VirtualBox kernel modules...
nov 05 19:34:51 eli-desktop virtualbox[7239]: * No suitable module for running kernel found
nov 05 19:34:51 eli-desktop virtualbox[7239]: ...fail!
nov 05 19:34:51 eli-desktop systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
nov 05 19:34:51 eli-desktop systemd[1]: virtualbox.service: Failed with result 'exit-code'.
nov 05 19:34:51 eli-desktop systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
答案1
也许你可以尝试这个:
sudo dpkg-reconfigure virtualbox-dkms
这解决了我过去的类似问题。
亲切的问候,
尼古拉斯