Updating kernel using aptitude

Posted by / 28-Nov-2019 15:20

I highly recommend apt-pinning as you can add alternate repositories or even third-party repositories and control what is installed from them.This allows you, again at your own risk, to install and update alternative packages and libraries and update them along side the main components of your Operating System.It is recommended that you install the matching Linux header package as well.If you require the grsec image in your environment install that one instead. Upon reboot you will be able to select which kernel you want to launch at the GRUB menu.When using the latest version of Debian 9 stable, even with all updates installed, by default, you can’t get a very recent kernel via the standard repositories in your package manager.While the idea of using Debian stable is to remain stable and rather conservative, there are several benefits with installing a newer kernel and in some cases it’s the only option to get the OS to support all your hardware.The first is the easiest and this is what I will explain in this post. Backports are packages taken from the next Debian release (called “testing”), adjusted and recompiled for usage on the stable release.

I used this Debian Wiki page to inform on the necessary steps, as well as the page on apt-pinning. If you have any questions or concerns about this post, do not hesitate to ask me. I used the above method to install what was the latest kernel at the time (4.15) and my system has been working fine.However take this with a grain of salt as it is a personal computer and not what I assume is a production server you wish to install this on.If you run into issues you can always select the known good kernel, and boot using that instead.I have used apt-pinning to successful manage my personal computer's Debian install.

updating kernel using aptitude-26updating kernel using aptitude-49updating kernel using aptitude-14