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
$ 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
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 ?