Virtualbox fails on FossaDog
I tried the regular installation through Synaptic, but it fails:
Code: Select all
Loading new virtualbox-6.1.50 DKMS files...
Building for 5.4.0-53-generic
Module build for kernel 5.4.0-53-generic was skipped since the
kernel headers for this kernel does not seem to be installed.
Setting up virtualbox (6.1.50-dfsg-1~ubuntu1.20.04.1) ...
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 Mon 2024-12-02 16:11:28 -03; 7ms ago
Docs: man:systemd-sysv-generator(8)
Process: 10840 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
Dec 02 16:11:28 live systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Dec 02 16:11:28 live virtualbox[10840]: * Loading VirtualBox kernel modules...
Dec 02 16:11:28 live virtualbox[10840]: * No suitable module for running kernel found
Dec 02 16:11:28 live virtualbox[10840]: ...fail!
Dec 02 16:11:28 live systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
Dec 02 16:11:28 live systemd[1]: virtualbox.service: Failed with result 'exit-code'.
Dec 02 16:11:28 live systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
My uneducated guess is that the installation fails because I have an "unorthodox" kernel.
Any suggestions?