Thanks. The problem is, that the partition /boot is only 451M in size and the two Linux images occupy there already 44%. That’s why I’m keen to freeing up disk space there.
OK. My understanding of these things is that it should be fine to remove all kernels except one, the one that is actually used. You can check which one is used right now using the “uname -a” command.
One thing to be careful about is that if you have just installed some new kernel package and not yet rebooted, then “uname -a” will still show the kernel running now (the old one), which is then not the same as the kernel that will be running after next reboot. So, best to reboot first, then check with “uname -a” which kernel is used, then remove other kernels if you want/need to do that.
I think PureOS is set to leave only one kernel behind on upgrades. So if the kernel were to be updated again it will remove the 5.x kernel and leave the 6.0 one you have now. Thaf’s in case there’s a problem with a kernel update than you have a backup one you can use.
Correct, PureOS works as it should. It is on user to execute: sudo apt autoremove, in order solve @guru issue, every time when new Linux kernel upgrade installed. Nothing else needed, after reboot, as @Skalman already recommended in his post.
FWIW autoremove does not take package name arguments - you use it by just invoking sudo apt autoremove (and optionally --purge). If you add arguments, it acts just like remove.