Installing fails with: ERROR (dkms apport): kernel package linux-headers-5.9.1-050901-generic is not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtualbox (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ sudo apt install virtualbox
[sudo] password for darxus:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dkms libgsoap-2.8.91 libvncserver1 virtualbox-dkms virtualbox-qt
Suggested packages:
vde2
The following NEW packages will be installed:
dkms libgsoap-2.8.91 libvncserver1 virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 6 newly installed, 0 to remove and 3 not upgraded.
Need to get 44.2 MB of archives.
After this operation, 180 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Fetched 44.2 MB in 12s (3,611 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 618202 files and directories currently installed.)
Preparing to unpack .../0-dkms_
Unpacking dkms (2.8.1-5ubuntu1) ...
Selecting previously unselected package libgsoap-
Preparing to unpack .../1-libgsoap-
Unpacking libgsoap-
Selecting previously unselected package libvncserver1:
Preparing to unpack .../2-libvncser
Unpacking libvncserver1:amd64 (0.9.12+
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../3-virtualbo
Unpacking virtualbox-dkms (6.1.10-
Selecting previously unselected package virtualbox.
Preparing to unpack .../4-virtualbo
Unpacking virtualbox (6.1.10-
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../5-virtualbo
Unpacking virtualbox-qt (6.1.10-
Setting up libvncserver1:amd64 (0.9.12+
Setting up dkms (2.8.1-5ubuntu1) ...
Installing new version of config file /etc/dkms/
Installing new version of config file /etc/dkms/
Installing new version of config file /etc/kernel/
Installing new version of config file /etc/kernel/
Installing new version of config file /etc/kernel/
Setting up libgsoap-
Setting up virtualbox-dkms (6.1.10-
Loading new virtualbox-6.1.10 DKMS files...
Building for 5.4.0-54-generic 5.9.1-050901-
Building initial module for 5.4.0-54-generic
Done.
vboxdrv.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
vboxnetadp.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
vboxnetflt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod...
DKMS: install completed.
Building initial module for 5.9.1-050901-
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 5.9.1-050901-
Consult /var/lib/
dpkg: error processing package virtualbox-dkms (--configure):
installed virtualbox-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox:
virtualbox depends on virtualbox-dkms (>= 6.1.10-
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.
dpkg: error processing package virtualbox (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 6.1.10-
Package virtualbox is not configured yet.
dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
Processing triggers for menu (2.1.47ubuntu4) ...
No apport report written because the error message indicates its a followup error from a previous failure.
.
Processing triggers for bamfdaemon (0.5.3+
Rebuilding /usr/share/
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 libc-bin (2.31-0ubuntu9.1) ...
Processing triggers for systemd (245.4-4ubuntu3.3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for shared-mime-info (1.15-1) ...
Errors were encountered while processing:
virtualbox-dkms
virtualbox
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
I do have these packages installed: linux-headers-
Without the matching image package. I don't see why that should cause this isntall to fail.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: virtualbox 6.1.10-
ProcVersionSign
Uname: Linux 5.4.0-54-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 28 10:45:37 2020
InstallationDate: Installed on 2016-05-28 (1645 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: virtualbox
UpgradeStatus: Upgraded to focal on 2020-08-20 (99 days ago)
Same error for 5.8.0-25-generic.
$ sudo apt remove linux-headers- 5.9.1-050901- generic linux-modules- 5.9.1-050901- generic headers- 5.9.1-050901- generic linux-modules- 5.9.1-050901- generic 5.9.1-050901- generic (5.9.1- 050901. 202010170731) ... 5.9.1-050901- generic (5.9.1- 050901. 202010170731) ... dfsg-1~ ubuntu1. 20.04.1) ...
[sudo] password for darxus:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
3 not fully installed or removed.
After this operation, 288 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 618879 files and directories currently installed.)
Removing linux-headers-
Removing linux-modules-
Setting up virtualbox-dkms (6.1.10-
Removing old virtualbox-6.1.10 DKMS files...
-------- Uninstall Beginning -------- ------- ------- ------- ------- --
Module: virtualbox
Version: 6.1.10
Kernel: 5.4.0-54-generic (x86_64)
-------
Status: Before uninstall, this module version was ACTIVE on this kernel.
vboxdrv.ko: 5.4.0-54- generic/ updates/ dkms/
- Uninstallation
- Deleting from: /lib/modules/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetadp.ko: 5.4.0-54- generic/ updates/ dkms/
- Uninstallation
- Deleting from: /lib/modules/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetflt.ko: 5.4.0-54- generic/ updates/ dkms/
- Uninstallation
- Deleting from: /lib/modules/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
------- ------- ------- ------- -- ------- ------- ------- --
Deleting module version: 6.1.10
completely from the DKMS tree.
-------
Done.
Loading new virtualbox-6.1.10 DKMS files...
Building for 5.4.0-54-generic 5.8.0-25-generic
Building initial module for 5.4.0-54-generic
Done.
vboxdrv.ko: 5.4.0-54- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
vboxnetadp.ko: 5.4.0-54- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
vboxnetflt.ko: 5.4.0-54- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod...
DKMS: install completed. 5.8.0-25- generic is not supported dkms/virtualbox /6.1.10/ build/make. log for more information.
Building initial module for 5.8.0-25-generic
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 5.8.0-25-generic (x86_64)
Consult /var/lib/
dpkg: error processing package virtualbox-dkms (--configure):
installed virtualbox-dkms pa...