Clobbered Kernel 6.17 Headers

Ubuntu Unity 24.04

Hi.

In a Feb.06.2026 post:

https://discourse.ubuntu.com/t/kernel-6-17-0-14-kernel-panic/76375

I Panicked when I got a Kernel Panic when an OS update brought in Kernel 6.17. In trying to fix the problem, I then foolishly 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

I have since been booting (thanks to refind) with Kernel 6.14 and all appears well. However, when I do this:

sudo apt --fix-broken install

I get this:

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)

Does this mean that I am 'stuck' with Kernel 6.14 forever? Is here a way I can get out of this mess ?

Thanks,

M…

Do not take me for being an expert who knows what he is talking about. This is the situation as I see it. You have purged some parts of Linux kernel 6.17.0-14 but not all the parts.

Why are you running fix-broken install? What do you want to fix? Do you want to install Linux 6.17.0-14?

The fix-broken install command is finding the leftover parts to kernel 6.17.0-14 and cannot fix what is broken because the parts it is looking are no longer there. They have been purged.

Seeing that you have purged Linux 6.17.0-14 you have no choice but to continue using kernel 6.14. Until a newer Linux 6.17.0 kernel is available and installed through update/upgrade.

I am using Ubuntu 24.04.4 and it has Linux 6.17.0-14. So, there we are. We may get 6.17 kernels beyond -14 but who can say?

Regards

Hi, did you try the solution from this post? : Kernel 6.17.0-14 Kernel Panic - #55 by majorfault

Hi.

I’m running fix-broken install just as a matter of system maintenance. I would like to go to Kernel 6.17 but I am scared of a Kernel Panic. I will wait for a revised Kernel 6.17 which will hopefully have the Kernel Panic Problem fixed.

Thanks,

M…