Ubuntu unity 24.04
Hi.
I thought I had this under control via an earlier post, but it appears that I am still in ‘trouble’.
A recent OS update brought in Kernel 6.17 to replace 6.14. A subsequent boot led to a Kernel Panic. A restore got me back to kernel 6.14. Then I did this:
sudo apt-get purge linux-image-6.17.0-14-generic
sudo apt-get purge linux-headers-6.17.0-14-generic
sudo apt-get purge linux-image-generic-hwe-24.04
After some reading on this forum, I was informed that purging 6.17 Kernel header files would prevent future updates of Kernel 6.17 to be installed on my system, so I tried to re-instate the 6.1.7 Kernel header files:
apt list ~i~nheaders |cut -d/ -f1
and this was displayed:
linux-hwe-6.17-headers-6.17.0-14
I thought I had resolved the problem, but unfortunately I am still getting issues with Kernel 6.17 header files. For example, I tried installing wine and I got:
dpkg:error processing package linux-headers-6.17.0-14-generic (--configure):
installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned err
or exit status 11
dpkg:dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however:
Package linux-headers-6.17.0-14-generic is not configured yet.
Seems strange to me as I am booting with Kernel 6.14.
So then I tried this
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.17.0-14-generic KVER=6.17.0-14-generic...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/vi
rtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for broadcom-sta(10) virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.17.0-14-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg:error processing package linux-headers-6.17.0-14-generic (--configure):
installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned err
or exit status 11
dpkg:dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however:
Package linux-headers-6.17.0-14-generic is not configured yet.
dpkg:error processing package linux-headers-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous f
ailure.
Errors were encountered while processing:
linux-headers-6.17.0-14-generic
linux-headers-generic-hwe-24.04
E: Sub-process /usr/bin/dpkg returned an error code (1)
An ancient error with broadcom appeared - something I thought I fixed by by adding ‘noble-backports’ to ‘Other Software’ in OS Updates. Now I’m also seeing issues with Virtual Machine.
Will these problems be resolved when a revised version of Kernel 6.17 comes around ? If so I have no problem waiting as my system appears to be working just fine. Or do I have to do something to get the 6.17 headers fixed ?
Thanks for listening,
M…