[Bug 2054865] Re: Package virtualbox-dkms-6.1.50 fails to install

2024-02-27 Thread Gianfranco Costamagna
++if [[ -e $kernel_source_dir/.config ]]; then ++cc=$(sed -n 's|^CONFIG_CC_VERSION_TEXT="\([^ ]*\) .*"|\1|p' $kernel_source_dir/.config) ++if command -v "$cc" >/dev/null; then ++export CC="$cc" ++fi ++fi this is the code checking and forcing a specific

[Bug 2054865] Re: Package virtualbox-dkms-6.1.50 fails to install

2024-02-27 Thread Gianfranco Costamagna
dkms_2.8.7-2ubuntu2.1_all.deb - new Debian package, version 2.0. size 69966 bytes: control archive=2307 bytes. 968 bytes,24 lines conffiles 897 bytes,20 lines control 1540 bytes,22 lines md5sums

[Bug 2054865] Re: Package virtualbox-dkms-6.1.50 fails to install

2024-02-27 Thread Gianfranco Costamagna
$ sudo apt remove gcc-12 [...] The following packages will be REMOVED: dkms g++-12 gcc-12 gcc-12-plugin-dev -- 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

Re: [Bug 2054865] Re: Package virtualbox-dkms-6.1.50 fails to install

2024-02-26 Thread tomdean
On 2/26/24 00:13, Gianfranco Costamagna wrote: > Which dkms version are you using? > $ dpkg -l |grep dkms > The problem was a mismatch between the gcc used to build the kernel and the injstalled gcc version. The kernel was built with gcc-12. The default Ubuntu 22.04 version is gcc-11. I use the

Re: [Bug 2054865] Re: Package virtualbox-dkms-6.1.50 fails to install

2024-02-26 Thread tomdean
On 2/26/24 00:13, Gianfranco Costamagna wrote: > Which dkms version are you using? > $ dpkg -l |grep dkms > > dpkg -l |grep dkms ii dkms 2.8.7-2ubuntu2 all Dynamic Kernel Module Support Framework ii virtualbox-dkms 6.1.50-dfsg-

[Bug 2054865] Re: Package virtualbox-dkms-6.1.50 fails to install

2024-02-26 Thread Gianfranco Costamagna
Which dkms version are you using? $ dpkg -l |grep dkms -- 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 thi