Thomas Aichinger Asked: 2018-07-14 00:51:42 +0800 CST2018-07-14 00:51:42 +0800 CST 2018-07-14 00:51:42 +0800 CST Ubuntu 16.04 and kernel 4.15 772 I run a cuple of virtual ubuntu servers and some of them have kernel 4.15 running while others have only 4.13 running. On all of my servers I do regularly apt update apt upgrade apt dist-upgrade How can I upgrade all of them to kernel 4.15? upgrade kernel 16.04 2 Answers Voted Thomas Aichinger 2018-07-18T09:10:56+08:002018-07-18T09:10:56+08:00 I found the difference. I had to enable the Ubuntu LTS enablement (also called HWE or Hardware Enablement) stacks. The 16.04 HWE Stacks will follow a new Rolling Update Model as documented at the following location: https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack apt-get install --install-recommends linux-generic-hwe-16.04 Bob 2018-07-14T01:01:04+08:002018-07-14T01:01:04+08:00 Add proposed repository to your Ubuntu 16.04 systems with 4.13 kernel: echo -e "deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main multiverse universe" | sudo tee -a /etc/apt/sources.list.d/xenial-proposed.list Create file proposed-updates: sudo touch /etc/apt/preferences.d/proposed-updates Open the created file in your favorite editor, let it be nano for instance: sudo nano /etc/apt/preferences.d/proposed-updates And add to the file this content: Package: * Pin: release a=xenial-proposed Pin-Priority: 400 Save file and close editor. Update and upgrade: sudo apt update sudo apt upgrade Find names of kernel packages available from proposed repository: apt search linux-image | grep -i proposed Install desired kernel, e.g. sudo apt install linux-image-4.15.0-26-generic/xenial-proposed
I found the difference. I had to enable the Ubuntu LTS enablement (also called HWE or Hardware Enablement) stacks.
The 16.04 HWE Stacks will follow a new Rolling Update Model as documented at the following location:
https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack
Add
proposed
repository to your Ubuntu 16.04 systems with 4.13 kernel:Create file
proposed-updates
:Open the created file in your favorite editor, let it be
nano
for instance:And add to the file this content:
Save file and close editor. Update and upgrade:
Find names of kernel packages available from
proposed
repository:Install desired kernel, e.g.