Ubuntu – Why does Ubuntu need two kernels

aptkernelpackage-management

My computer has rather low disk space. For this reason every so often I need to run sudo apt autoremove to remove old kernels and headers and stuff.

Not that long ago, I noticed that it has kept 4.4.0.77 as well as 4.4.0.78. I have run autoremove twice since noticing, but it still is there. I only use the latest kernel, and I don't think any of my software depends on that particular version, but when I tried to remove it, it wanted to remove linux-image-generic. That sounds important, so I didn't, but why does it depend on an outdated kernel version?

Best Answer

Ubuntu does not need two kernels. It keeps one "backup" kernel in case you can't boot with the latest one.

You can safely remove the older kernel if you are sure you won't need it.

And you probably tried to remove the latest one if linux-image-generic was to be removed. It depends on the latest kernel only.

Related Question