Kernel does not update

Asked by Kósa Lajos

I have ubuntu 18.04 on more computers, and on of them kernel updates are not installed:

kosal@kosal-pc:~$ uname -r
4.15.0-31-generic

As I try to manually update to the latest package:
kosal@kosal-pc:~$ sudo apt install linux-headers-4.15.0-33
[sudo] kosal jelszava:
Csomaglisták olvasása... Kész
Függőségi fa építése
Állapotinformációk olvasása... Kész
linux-headers-4.15.0-33 már a legújabb verzió (4.15.0-33.36).
0 frissített, 0 újonnan telepített, 0 eltávolítandó és 0 nem frissített.

Which says latest linux-headers-4.15.0-33 has already been installed.

The image files are also not there in /boot:

kosal@kosal-pc:/boot$ ls -ax
. .. abi-4.15.0-30-generic abi-4.15.0-31-generic
config-4.15.0-30-generic config-4.15.0-31-generic extlinux grub
initrd.img-4.15.0-30-generic initrd.img-4.15.0-31-generic memtest86+.bin memtest86+.elf
memtest86+_multiboot.bin retpoline-4.15.0-30-generic retpoline-4.15.0-31-generic System.map-4.15.0-30-generic
System.map-4.15.0-31-generic vmlinuz-4.15.0-30-generic vmlinuz-4.15.0-31-generic

It started with 4.15.0-32: it was apparently installed, however it wasn't.

What can be wrong? How do I update to the latest kernel? I have livepatch in use, but on my laptop it is also in use, and the updates are installed.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

df -h; uname -a; lsb_release -a; dpkg -l | grep linux-image | grep -v head

Thanks

Revision history for this message
Kósa Lajos (lajos-p) said :
#2

kosal@kosal-pc:~$ df -h; uname -a; lsb_release -a; dpkg -l | grep linux-image | grep -v head
Fájlrendszer Méret Fogl. Szab. Fo.% Csatol. pont
udev 7,3G 0 7,3G 0% /dev
tmpfs 1,5G 1,7M 1,5G 1% /run
/dev/sdd2 63G 18G 43G 30% /
tmpfs 7,4G 36M 7,3G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,4G 0 7,4G 0% /sys/fs/cgroup
/dev/loop0 87M 87M 0 100% /snap/core/5145
/dev/loop1 87M 87M 0 100% /snap/core/4830
/dev/loop2 87M 87M 0 100% /snap/core/4917
/dev/loop3 5,0M 5,0M 0 100% /snap/canonical-livepatch/42
/dev/sdd3 367G 108G 260G 30% /home
/dev/sda2 59G 37G 23G 62% /mnt/virtualbox
/dev/sdc1 932G 602G 330G 65% /mnt/backup
/dev/sdb1 1,9T 679G 1,2T 37% /work
//fritz.box/FRITZ.NAS/WD-Elements25A2-01 4,5T 2,6T 2,0T 58% /mnt/NAS/WD-Elements25A2-01
//fritz.box/FRITZ.NAS/Verbatim-DesktopHDD3-0-01 4,5T 2,6T 2,0T 58% /mnt/NAS/Verbatim-DesktopHDD3-0-01
tmpfs 1,5G 16K 1,5G 1% /run/user/1000
Linux kosal-pc 4.15.0-31-generic #33-Ubuntu SMP Thu Aug 2 14:34:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
ii linux-image-4.15.0-31-generic 4.15.0-31.33 amd64 Signed kernel image generic
ii linux-image-unsigned-4.15.0-30-generic 4.15.0-30.32 amd64 Linux kernel image for version 4.15.0 on 64 bit x86 SMP

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

I suggest that you install the package

linux-generic

This will make sure that you have the newest versions of the kernel and the header packages installed.

Revision history for this message
Kósa Lajos (lajos-p) said :
#4

That helped. Strange the package was removed. Thank you.