These two scripts are not supposed to replace ukuu.
I assumed, you know already (for example from the grub menu or from Synaptic) what kernels have been installed before.
To prevent a non-existing kernel from being uninstalled, you might look it up in Synaptic, by entering only the number of the one you intent to uninstall.
If it is there, go ahead using the 2nd script, if not, you're done already.
If you enter a "K", nothing happens until you hit the Enter-key.
These two scripts are just supposed to be helpful for installing a kernel, just to see if it fixes some issues, you are currently facing.
In case the new kernel doesn't fix anything, You usually know which one you just installed and then you can use the 2nd script to uninstall it again.
If you think, you should add some features, feel free to go ahead, please.
Any improvement is welcome, of course.
I guess, the two commands should also list the modules, so it would be:
Code:
apt list linux-{image,headers,modules}*
apt list --installed linux-{image,headers,modules}*
The problem as I see it, is that this list can get quite confusing, because it doesn't list the packages sorted by version numbers.