On 2/23/24 22:53, tomdean wrote: > 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.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch > 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-dfsg-1~ubuntu1.22.04.1). > The following packages were automatically installed and are no longer > required: > libstd-rust-1.72 linux-headers-6.5.0-15-generic > linux-hwe-6.5-headers-6.5.0-15 linux-image-6.5.0-15-generic > linux-modules-6.5.0-15-generic linux-modules-extra-6.5.0-15-generic > 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-dfsg-1~ubuntu1.22.04.1) ... > 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/dkms/virtualbox/6.1.50/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 > 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-dfsg-1~ubuntu1.22.04.1 > ProcVersionSignature: Ubuntu 6.5.0-18.18~22.04.1-generic 6.5.8 > Uname: Linux 6.5.0-18-generic x86_64 > ApportVersion: 2.20.11-0ubuntu82.4 > Architecture: amd64 > CasperMD5CheckResult: unknown > 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_DIR=<set> > 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054865 Title: Package virtualbox-dkms-6.1.50 fails to install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2054865/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
