Hello.apt autoremove is what I was about to recommend also. @None1975 , is there a problem using that command here? Nothing is jumping out at me.
No problem with this command.
In my example this command remove ALL older kernels, excluding the current running kernel.
Statistics: Posted by None1975 — 2024-04-06 10:27