Package virtualbox-dkms-6.1.50 fails to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtualbox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
> uname -a
Linux aorus 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
LSB Version: core-11.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
> sudo apt install virtualbox-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
virtualbox-dkms is already the newest version (6.1.50-
The following packages were automatically installed and are no longer required:
libstd-rust-1.72 linux-headers-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up virtualbox-dkms (6.1.50-
Removing old virtualbox-6.1.50 DKMS files...
Deleting module virtualbox-6.1.50 completely from the DKMS tree.
Loading new virtualbox-6.1.50 DKMS files...
Building for 6.5.0-18-generic
Building initial module for 6.5.0-18-generic
Error! Bad return status for module build on kernel: 6.5.0-18-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
Errors were encountered while processing:
virtualbox-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
aorus> apport-bug virtualbox-dkms
aorus> ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: virtualbox-dkms 6.1.50-
ProcVersionSign
Uname: Linux 6.5.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Fri Feb 23 22:49:31 2024
InstallationDate: Installed on 2021-05-10 (1019 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: virtualbox
UpgradeStatus: Upgraded to jammy on 2023-05-16 (284 days ago)
On 2/23/24 22:53, tomdean wrote: 1.0ubuntu4- noarch: security- 11.1.0ubuntu4- noarch dfsg-1~ ubuntu1. 22.04.1) . 6.5.0-15- generic 6.5-headers- 6.5.0-15 linux-image- 6.5.0-15- generic 6.5.0-15- generic linux-modules- extra-6. 5.0-15- generic dfsg-1~ ubuntu1. 22.04.1) ... dkms/virtualbox /6.1.50/ build/make. log for more information. dfsg-1~ ubuntu1. 22.04.1 ature: Ubuntu 6.5.0-18. 18~22.04. 1-generic 6.5.8 esult: unknown DIR=<set>
> Public bug reported:
>
>> uname -a
> Linux aorus 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
>> lsb_release -a
> LSB Version: core-11.
> Distributor ID: Ubuntu
> Description: Ubuntu 22.04 LTS
> Release: 22.04
> Codename: jammy
>
>> sudo apt install virtualbox-dkms
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> virtualbox-dkms is already the newest version (6.1.50-
> The following packages were automatically installed and are no longer required:
> libstd-rust-1.72 linux-headers-
> linux-hwe-
> linux-modules-
> Use 'sudo apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Setting up virtualbox-dkms (6.1.50-
> Removing old virtualbox-6.1.50 DKMS files...
> Deleting module virtualbox-6.1.50 completely from the DKMS tree.
> Loading new virtualbox-6.1.50 DKMS files...
> Building for 6.5.0-18-generic
> Building initial module for 6.5.0-18-generic
> Error! Bad return status for module build on kernel: 6.5.0-18-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
> Errors were encountered while processing:
> virtualbox-dkms
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> aorus> apport-bug virtualbox-dkms
> aorus> ATTENTION: default value of option mesa_glthread overridden by environment.
> ATTENTION: default value of option mesa_glthread overridden by environment.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 22.04
> Package: virtualbox-dkms 6.1.50-
> ProcVersionSign
> Uname: Linux 6.5.0-18-generic x86_64
> ApportVersion: 2.20.11-0ubuntu82.4
> Architecture: amd64
> CasperMD5CheckR
> CurrentDesktop: GNOME
> Date: Fri Feb 23 22:49:31 2024
> InstallationDate: Installed on 2021-05-10 (1019 days ago)
> InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: virtualbox
> UpgradeStatus: Upgraded to jammy on 2023-05-16 (284 days ago)
>
> ** Affects: virtualbox (Ubuntu)
> Importance: Undecided
> Status: New
>
>
> ** Tags: amd64 apport-bug jammy
>
The kernel was built with gcc-12. The installed gcc is gcc-11. Apt
upgrade does not fix this.
Installing gcc-12 fixed the issue.
Before the kernel is built with a version of gcc, that version should be
the default installed version.
Tom Dean