$ sudo apt remove linux-headers-5.9.1-050901-generic linux-modules-5.9.1-050901-generic
[sudo] password for darxus:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-headers-5.9.1-050901-generic linux-modules-5.9.1-050901-generic
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-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
Removing linux-modules-5.9.1-050901-generic (5.9.1-050901.202010170731) ...
Setting up virtualbox-dkms (6.1.10-dfsg-1~ubuntu1.20.04.1) ...
Removing old virtualbox-6.1.10 DKMS files...
Status: Before uninstall, this module version was ACTIVE on this kernel.
vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-54-generic/updates/dkms/
- 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:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-54-generic/updates/dkms/
- 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:
- Uninstallation
- Deleting from: /lib/modules/5.4.0-54-generic/updates/dkms/
- 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:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-54-generic/updates/dkms/
vboxnetadp.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-54-generic/updates/dkms/
vboxnetflt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-54-generic/updates/dkms/
depmod...
DKMS: install completed.
Building initial module for 5.8.0-25-generic
ERROR (dkms apport): kernel package linux-headers-5.8.0-25-generic is not supported
Error! Bad return status for module build on kernel: 5.8.0-25-generic (x86_64)
Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information.
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-dfsg-1~ubuntu1.20.04.1) | virtualbox-source (>= 6.1.10-dfsg-1~ubuntu1.20.04.1) | virtualbox-modules; however:
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-dfsg-1~ubuntu1.20.04.1); however:
Package virtualbox is not configured yet.
dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure
.
Errors were encountered while processing:
virtualbox-dkms
virtualbox
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
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. dfsg-1~ ubuntu1. 20.04.1) | virtualbox-source (>= 6.1.10- dfsg-1~ ubuntu1. 20.04.1) | virtualbox-modules; however:
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 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): dfsg-1~ ubuntu1. 20.04.1) ; however:
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):
No apport report written because the error message indicates its a followup error from a previous failure
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
.
Errors were encountered while processing:
virtualbox-dkms
virtualbox
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
$