Stuck with kernel 6.2.0 on Ubuntu 23.10

I’m running Ubuntu on a thin client as a headless home server. I’ve upgraded to 23.10 a few monthes ago, but I realize I’ve been stuck with kernel 6.2.0 since then.

Running sudo apt update, sudo apt upgrade or sudo apt dist-upgrade gets me nothing (everything seems to be up to date).

Running lsb_release -a gets me

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 23.10
Release:        23.10
Codename:       mantic

So I’m certain I’m on 23.10.

I’m fairly new to linux so I’m not sure what to do, I’m sorry ^^’.

Edit 1 :
As mentioned in a comment, I did

sudo apt-mark auto `apt-mark showmanual | grep linux`

And afterwards apt-update and apt-upgrade, but nothing.
What’s even more strange is that my /boot/grub/ only mentions things like

linux /boot/vmlinuz-6.5.0-25-generic root=/dev/mapper/ubuntu–vg-ubuntu–lv ro
initrd /boot/initrd.img-6.5.0-25-generic

Nothing related to 6.2.0 kernel is in there.
Ubuntu is the only OS installed on the machine.

uname -r still outputs 6.2.0-35-generic.

Edit 2 :
Running sudo update-grub and then rebooting, sudo apt-update and sudo apt-upgrade tell me everything is up to date, and uname -a stills stays :

Linux 6.2.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 3 13:14:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

For reference, here is the content of my /boot/grub/grub.cfg :
Strangely enough, everything is related to kernel 6.5 and in /boot I only have those files :


Edit 3 :
Full boot-repair report as requested :

Asked By: Mysterius


You need to run:

sudo apt update

Then, and only then, should you run:

sudo apt dist-upgrade

The first command, sudo apt update, updates the list of packages that need to be updated (it checks for available updates). Without updating the package list, your system will never know which packages are or are not out of date.

Therefore, we should always run sudo apt update at least once per day, before running any other apt commands to install or upgrade packages.

Answered By: mchid

Oddly, I noticed my Ubuntu 23.10 VM wasn’t updating kernels either — all the other expected updates were working. Take a look at the manual settings:

apt-mark showmanual | grep linux

If you are getting entries like linux-image-generic-14, then that explains why they are not getting updates.

Set them back to "auto":

sudo apt-mark auto $(apt-mark showmanual | grep linux)

(or just cut and paste from your previous apt-mark output).

Then do the

sudo apt update
sudo apt upgrade

and you should be getting the new kernels too.

Answered By: ubfan1

My computer was separated in 3 partitions : 1- bios/grub, 2- boot files, 3- ubuntu.

For some reason, my boot partition got unmounted in Ubuntu so it wasn’t recognized. When I was trying to update using apt upgrade, Ubuntu put the files in a boot folder in its own partition (the third one).

However, since Grub was booting from the files located in the Boot partition (the 2nde one), any files updated in the boot folder of the ubuntu partition was ignored.

I simply had to remount the boot partition as /boot in Ubuntu and voila !

Many thanks to @ubfan1 and others for their help.

Answered By: Mysterius
Categories: Answers Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.