Code: Select all
sudo apt-get update
sudo apt-get install linux-generic
Mike
Code: Select all
sudo apt-get update
sudo apt-get install linux-generic
That's the wrong approach in several fundamental ways. You should only install newer kernels by means of Update Manager, or by means of the kernel tool that's accessible in Update Manager. That very tool is also the thing you should use for removing older kernels.m654321 wrote:Recently, I updated LMint cinnamon with the latest kernel using command line as follows:How do I delete the old kernel(s)?Code: Select all
sudo apt-get update sudo apt-get install linux-generic
Mike
Code: Select all
sudo apt-get remove linux-generic linux-image-generic linux-headers-generic
@Pjotr...Pjotr wrote:Recently, I updated LMint cinnamon with the latest kernel using command line as follows:
That's the wrong approach in several fundamental ways. You should only install newer kernels by means of Update Manager, or by means of the kernel tool that's accessible in Update Manager. That very tool is also the thing you should use for removing older kernels.
Update Manager - panel: View - Linux kernels
Remove that generic package that you've installed, and its dependencies, like this:Code: Select all
sudo apt-get remove linux-generic linux-image-generic linux-headers-generic
No, they are not, they remain in place. There is a button on the update manager that lists the kernels that are available for install and also shows which ones you have installed but not loaded, and you can remove them from there.m654321 wrote:Using Update Manager, are the old kernels removed automatically when I install the new kernel?
Just so you know: this topic is years old, and the information is outdated (which is why I will lock it after posting this). The Update Manager in the current versions of Mint gives you some nice new options:Mintstant Karma wrote: ⤴Mon Dec 06, 2021 3:18 pm Ha! I've only recently begun looking into this topic, and found I had about thirty old kernels installed! Just today I started deleting, and with just the first two removals I've recovered 1.1 GB.