Old version linux headers 6.8.0-57 lingering after apt cleaning

As I have a small HDD, I regularly check spare capacity and clean apt and logs.
I just keep the current and previous kernels. For me that is 6.8.0-60, 6.8.0-59.

Looking at Disk Analyser, I see 6.8-57 linux headers is still in scr despite using:

sudo apt clean

sudo apt-get autoremove

That shows nothing to be removed.

Same using Ubuntu Cleaner. 6.8.0-57 is not listed.

Also running:

ls -l /boot

only shows the 2 kernels I expect to see. i.e. 6.8.0-57 not shown.

However: Using Nautilus, I find the stray 6.8.0-57 headers in /src

Question: Can I simply delete that folder without any issues, or does it require other persuasion to do that properly?

Maybe I can seek and destroy by using Synaptic Package Manager?

1 Like

Yes, you can. Note that the -57 you point out is the HardWare Enablement kernel. (HWE)

apt list --installed | grep linux-generic-hwe

Did You take a Look in the Folder? I would guess that You can delete it because there is only that and not like with the others the generic Folders.

It was easy to do using Synaptic.
Just marked the two -57 items for Complete Removal, then performed the action.
Followed up with a reboot to confirm Zorin starts OK and all is still well.
Checked Items now gone from /src, leaving me -59 and -60 as required.
Thanks for the reassurance. Zab