Kernel update

jasne

Verified User
Joined
Sep 28, 2011
Messages
52
Hello guys,
I've just installed brand new Debian 11 ( default kernel 5.10) and DirectAdmin 1.648,
Before DA installation I did "apt-get update".
Do I have now update kernel to new version ?
 
Do I have now update kernel to new version ?
No, the apt-get update does not update kernel.

If I'm not mistaken, to also upgrade the kernel you need this command:
sudo apt-get update && sudo apt-get dist-upgrade
 
Is it recommended to update kernel ? My default installed kernel is 5.10. Everything works perfect now and I'm afraid that if I upgrade to latest, something can broke my setup
 
There is always a risk that a kernel can be bad or crash or whatever. But if you do a new install, it's best to upgrade to the newest kernel available at that time, because if things go wrong, it's easy to re-install, not much lost.
So on a fresh install I would certainly recommend to update everything to the latest version (as far a supported by DA), so kernel too.

After that, normally the old kernel is kept so if things go wrong you can convert, but I know people who almost never update their kernel unless there is some dangerous vulnerability.

So it's your choice, it's not really a requirement at this moment as far as I know, I don't work with Debian. As long as things work fine and no specific kernel requirement is present for software or application on the server, there is no need for an update.

Maybe @Zhenyapan can tell you more, he works with Debian if I'm correct.
 
I'm running apt upgrade only, I don't run apt dist-uprgade. But I have low expirience with debian/ubuntu, it's less then 5% of my servers.
 
Back
Top