Skip to content

Instantly share code, notes, and snippets.

@luxu
Created February 19, 2024 13:13
Show Gist options
  • Save luxu/717193843cb491834a51591b1dae2ae6 to your computer and use it in GitHub Desktop.
Save luxu/717193843cb491834a51591b1dae2ae6 to your computer and use it in GitHub Desktop.
➜ ~ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up virtualbox-dkms (6.1.32-dfsg-1build1) ...
Removing old virtualbox-6.1.32 DKMS files...
Deleting module virtualbox-6.1.32 completely from the DKMS tree.
Loading new virtualbox-6.1.32 DKMS files...
Building for 5.19.0-41-generic
Building initial module for 5.19.0-41-generic
ERROR (dkms apport): kernel package linux-headers-5.19.0-41-generic is not supported
Error! Bad return status for module build on kernel: 5.19.0-41-generic (x86_64)
Consult /var/lib/dkms/virtualbox/6.1.32/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.32-dfsg-1build1) | virtualbox-source (>= 6.1.32-dfsg-1build1) | 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.32-dfsg-1build1); 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)
➜ ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment