virtualbox-dkms 6.1.10-dfsg-1~ubuntu1.20.04.1: virtualbox kernel module failed to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtualbox (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
after installing virtual box: `sudo apt install virtualbox` there seemed to be an error with my kernel: `kernel headers for this kernel does not seem to be installed.`.
I installed the headers: `sudo apt-get install linux-headers-
```
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 5.8.0-33-generic (x86_64)
Consult /var/lib/
```
and after `sudo dpkg-reconfigure virtualbox`:
```
Job for vboxweb.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status vboxweb.service" and "journalctl -xe" for details.
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.
Active: failed (Result: exit-code) since Fri 2020-12-18 22:39:07 CET; 5ms ago
Docs: man:systemd-
Process: 42222 ExecStart=
dic 18 22:39:07 chale-MS systemd[1]: Starting LSB: VirtualBox Linux kernel module...
dic 18 22:39:07 chale-MS virtualbox[42222]: * Loading VirtualBox kernel modules...
dic 18 22:39:07 chale-MS virtualbox[42222]: * No suitable module for running kernel found
dic 18 22:39:07 chale-MS virtualbox[42222]: ...fail!
dic 18 22:39:07 chale-MS systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
dic 18 22:39:07 chale-MS systemd[1]: virtualbox.service: Failed with result 'exit-code'.
dic 18 22:39:07 chale-MS systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
```
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: virtualbox-dkms 6.1.10-
ProcVersionSign
Uname: Linux 5.8.0-33-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
DKMSKernelVersion: 5.8.0-33-generic
Date: Fri Dec 18 22:29:02 2020
DuplicateSignature: dkms:virtualbox
InstallationDate: Installed on 2020-12-18 (0 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageVersion: 6.1.10-
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.2
SourcePackage: virtualbox
Title: virtualbox-dkms 6.1.10-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Solved the issue by downloading and installing virtual box from https:/ /www.virtualbox .org/wiki/ Linux_Downloads