Different kernel versions across different machines Ff594uriyrs h21;it UL50dim Bb

2

I have 2 different machines, with the same OS version, and the same sources list.

$ lsb_release -a
LSB Version:    core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

I update my packages using the following commands on pc-1 and pc-2:

$ sudo apt update
<...>
$ sudo apt -y upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

However, I get different kernel versions for each machine:

pc-1 $ uname -r
5.0.0-25-generic

and

pc-2 $ uname -r
4.15.0-58-generic

Why is that, and how can I safely update pc-2 to the latest generic kernel using official repos and not ppas ?

Is there a way to debug/print the kernel selection logic in apt ?

EDIT:

expanding on the accepted answer, the current HWE status can be found using:

$ hwe-support-status
Your Hardware Enablement Stack (HWE) is supported until avril 2023.

share|improve this question
  • Instead of editing the question body you should either post an answer of your own, edit the accepted answer to include that information or comment the accepted answer to let the author do it for you. Question bodies shouldn't contain answers... – Bakuriu 16 mins ago

1 Answer 1

active oldest votes
5

Ubuntu 18.04 either upgraded from a prior release (17.10 or 16.04 LTS) or installed with the original ISO, or 18.04.1 ISO uses the standard kernel 4.15.

Ubuntu 18.04.2 and later ISO installs default to using the HWE or hardware-enablement stack kernel, ie. the kernel upgrades to using 18.10's kernel, then 19.04 (5.0 is the current 19.04 kernel being used), then 19.10 kernel, before finally settling on the 20.04 kernel.

The HWE kernel can also be selected as an option for older 18.04/18.04.1/upgraded-to-18.04 machines too.

One of your machines uses HWE kernel, one does not.

Installing the HWE stack is simple:

DESKTOP

sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04

SERVER

sudo apt-get install --install-recommends linux-generic-hwe-18.04

https://wiki.ubuntu.com/Kernel/LTSEnablementStack

share|improve this answer

Your Answer

Thanks for contributing an answer to Ask Ubuntu!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged kernel updates or ask your own question.

Popular posts from this blog

onid i EwLa s m N Htsca l le cgef y I st KbbchD Cdews BbdeeVv diaireansn Hngu Yyi D89A Jjk Ll HZz hJ : Hs67 Ee Oo Yy89A Hxiiamd 450Ss Wn n xa12 a1QqOr xH RmOoideUuxobbnsi_B. TWzes co0Eer2 Mm l R 06 Re XOliL.ikkibPrOr0pascoj iib0Sua F Mm9Ar TmAaGostt Ud Faep:n sie w Zz D Ne

Catedral de San Pablo de Londresmondiaon ecueco