running uname -a.
I have a few systems running Debian/Stable (Bookworm). However the kernel version isn't always the same for some reason. After this morning's update, I noticed that 2 of the 3 systems upgraded the kernel but to different versions. This is shown by
Can anyone help me understand this behaviour?
On Sat, 2025-02-08 at 12:05 -0500, Gary Dale wrote:running uname -a.
I have a few systems running Debian/Stable (Bookworm). However the kernel version isn't always the same for some reason. After this morning's update, I noticed that 2 of the 3 systems upgraded the kernel but to different versions. This is shown by
...
Can anyone help me understand this behaviour?
How did you attempt the actual uprade? Note that "apt upgrade" is not
enough, you need to do "apt full-upgrade" when the kernel ABI has been increased (NN+ in linux-image-6.1.0-NN-amd64).
On Sun, Feb 09, 2025 at 13:22:50 +0200, Henrik Ahlgren wrote:running uname -a.
On Sat, 2025-02-08 at 12:05 -0500, Gary Dale wrote:
I have a few systems running Debian/Stable (Bookworm). However the kernel version isn't always the same for some reason. After this morning's update, I noticed that 2 of the 3 systems upgraded the kernel but to different versions. This is shown by
I always reboot after a kernel upgrade so uname -a should always return...Did you reboot? "uname -a" shows the running kernel, which is not necessarily the newest installed kernel.
Can anyone help me understand this behaviour?
What you really want to do is compare the output of "uname -a" (which
shows the running kernel) with the output of "ls /boot/vmlinuz-*"
(which shows the installed kernel images). That'll tell you whether
a reboot is needed, at least in most cases.[1]
How did you attempt the actual uprade? Note that "apt upgrade" is notYou're thinking of apt-get upgrade. What you said is correct concerning apt-get, but apt upgrade *will* bring in new kernel packages by default,
enough, you need to do "apt full-upgrade" when the kernel ABI has been
increased (NN+ in linux-image-6.1.0-NN-amd64).
so long as the metapackage is installed.
The metapackage in question is the one without an ABI version number
in it, but with the architecture in it. For me, it is named linux-image-amd64. On other architectures, it would be linux-image-ARCH.
I would recommend that Gary check whether this is installed on the one
system that appears not to have upgraded the kernel.
[1] Sometimes, *very* rarely, a kernel security patch may be released
that doesn't change the ABI version number. In this case, ls wouldn't
show you that there's a newer kernel installed but not yet running.
You'd have to use something like "dpkg -l linux-image\* | grep ^.i"
to see the actual package version numbers, and compare that against
the *second* version number in the output of "uname -a".
On Sat, 2025-02-08 at 12:05 -0500, Gary Dale wrote:running uname -a.
I have a few systems running Debian/Stable (Bookworm). However the kernel version isn't always the same for some reason. After this morning's update, I noticed that 2 of the 3 systems upgraded the kernel but to different versions. This is shown by
...
Can anyone help me understand this behaviour?How did you attempt the actual uprade? Note that "apt upgrade" is not
enough, you need to do "apt full-upgrade" when the kernel ABI has been increased (NN+ in linux-image-6.1.0-NN-amd64).
On 09/02/2025 00:05, Gary Dale wrote:
VM1: /etc/apt/sources.list
I recommend to compare
apt policy linux-image-amd64
and
apt policy
All 3 systems have the linux-image-amd64 metapackage installed.
On Fri, Feb 14, 2025 at 09:42:10AM -0500, Gary Dale wrote:
All 3 systems have the linux-image-amd64 metapackage installed.
What does apt show -a linux-image-amd64 | grep -e Version -e Sources
-e Depends
return on each system?
If you
apt update
on each system, are there any error messages?
On 2025-02-14 22:00, Michael Stone wrote:
On Fri, Feb 14, 2025 at 09:42:10AM -0500, Gary Dale wrote:
All 3 systems have the linux-image-amd64 metapackage installed.
What does apt show -a linux-image-amd64 | grep -e Version -e Sources
-e Depends
return on each system?
If you
apt update
on each system, are there any error messages?
On RM1
# apt show -a linux-image-amd64 | grep -e Version -e Sources -e Depends
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Version: 6.1.128-1
Depends: linux-image-6.1.0-31-amd64 (= 6.1.128-1)
APT-Sources: http://security.debian.org stable-security/main amd64
Packages
Version: 6.1.124-1
Depends: linux-image-6.1.0-30-amd64 (= 6.1.124-1)
APT-Sources: http://ftp.ca.debian.org/debian stable-updates/main amd64 Packages
Version: 6.1.123-1
Depends: linux-image-6.1.0-29-amd64 (= 6.1.123-1)
APT-Sources: http://ftp.ca.debian.org/debian stable/main amd64 Packages
# uname -a
#1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
ON RM2
# apt show -a linux-image-amd64 | grep -e Version -e Sources -e Depends
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Version: 6.1.128-1
Depends: linux-image-6.1.0-31-amd64 (= 6.1.128-1)
APT-Sources: http://security.debian.org/debian-security
stable-security/main amd64 Packages
Version: 6.1.124-1
Depends: linux-image-6.1.0-30-amd64 (= 6.1.124-1)
APT-Sources: http://ftp.ca.debian.org/debian stable-updates/main amd64 Packages
Version: 6.1.123-1
Depends: linux-image-6.1.0-29-amd64 (= 6.1.123-1)
APT-Sources: http://ftp.ca.debian.org/debian stable/main amd64 Packages Version: 6.1.64-1
Config-Version: 6.1.64-1
Depends: linux-image-6.1.0-14-amd64 (= 6.1.64-1)
APT-Sources: /var/lib/dpkg/status
# uname -a
#1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 151:16:50 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,800 |