Error loading virtualbox-dkms for kernel 5.11
Hi Everyone
i got this virtualbox error after upgrading my ubuntu kernel from 5.8 to 5.11
OS using: Ubuntu
Error when i tried to start my VM centos
```
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_
```
Loading new virtualbox-6.1.16 DKMS files...
Building for 5.11.11-
Building initial module for 5.11.11-
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 5.11.11-
Consult /var/lib/
dpkg: error processing package virtualbox-dkms (--configure):
installed virtualbox-dkms package post-installation script subprocess returned error exit status 10
No apport report written because the error message indicates its a followup error from a previous failure.
virtualbox depends on virtualbox-dkms (>= 6.1.16-
Package virtualbox-dkms is not configured yet.
Package virtualbox-source is not installed.
Package virtualbox-modules is not installed.
Package virtualbox-dkms which provides virtualbox-modules is not configured yet.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Liam for more information if necessary.