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 Sun 2023-05-28 16:16:48 CST; 14ms ago
Docs: man:systemd-sysv-generator(8)
Process: 1753809 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
May 28 16:16:48 udeer-PC systemd[1]: Starting LSB: VirtualBox Linux kernel module…
May 28 16:16:48 udeer-PC virtualbox[1753809]: * Loading VirtualBox kernel modules…
May 28 16:16:48 udeer-PC virtualbox[1753809]: * No suitable module for running kernel found
May 28 16:16:48 udeer-PC virtualbox[1753809]: …fail!
May 28 16:16:48 udeer-PC systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
May 28 16:16:48 udeer-PC systemd[1]: virtualbox.service: Failed with result ‘exit-code’.
May 28 16:16:48 udeer-PC systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
Setting up virtualbox-qt (6.1.38-dfsg-3~ubuntu1.20.04.1) …
Processing triggers for desktop-file-utils (0.24-1ubuntu3) …
Processing triggers for mime-support (3.64ubuntu1) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for gnome-menus (3.36.0-1ubuntu1) …
Processing triggers for systemd (245.4-4ubuntu3.21) …
Processing triggers for man-db (2.9.1-1) …
Processing triggers for shared-mime-info (1.15-1) …
应该是我内核版本更新导致
解决办法:重装virtualbox
sudo apt-get install --reinstall virtualbox-dkms
sudo apt-get install --reinstall virtualbox