Software update wants to downgrade kernel

Hi all.

I am runnin Leap 15.6 and have 6.4.0-150600.23.7-default #1 SMP PREEMPT_DYNAMIC kernel and zypper update wants to ‘downgrade’ the kernel and I don’t know why I am on PREEMPT:

The following 5 NEW packages are going to be installed:
  kernel-default           6.4.0-150600.21.3  x86_64  Main Repository     SUSE LLC <https://www.suse.com/>
  kernel-default-devel     6.4.0-150600.21.3  x86_64  Main Repository     SUSE LLC <https://www.suse.com/>
  kernel-default-extra     6.4.0-150600.21.3  x86_64  Main Repository     SUSE LLC <https://www.suse.com/>
  kernel-default-optional  6.4.0-150600.21.3  x86_64  Main Repository     SUSE LLC <https://www.suse.com/>
  libx265-209              3.6-150600.1.pm.1  x86_64  Packman Repository  http://packman.links2linux.de

The following 4 packages are going to be REMOVED:
  kernel-default           6.4.0-150600.21.2  x86_64  SUSE LLC <https://www.suse.com/>
  kernel-default-devel     6.4.0-150600.21.2  x86_64  SUSE LLC <https://www.suse.com/>
  kernel-default-extra     6.4.0-150600.21.2  x86_64  SUSE LLC <https://www.suse.com/>
  kernel-default-optional  6.4.0-150600.21.2  x86_64  SUSE LLC <https://www.suse.com/>

The following package requires a system reboot:
  kernel-default  6.4.0-150600.21.3  x86_64  Main Repository  SUSE LLC <https://www.suse.com/>

is it safe to let zypper downgrade from *23.7 to *21.3 kernel?

Thank you in advance.

@simorgh yes, that’s a fallout from the respin, .2 is being removed in favor of .3 and zypper config is running version minus 1. It should reboot to the 23.7, if not you can select at grub and fix up via YaST Bootloader. PREEMPT_DYNAMIC is the default.

1 Like

This kernel Version is not anymore in the Repo:

LANG=C zypper se -s kernel-default-devel
Loading repository data...
Reading installed packages...

S  | Name                 | Type    | Version             | Arch   | Repository
---+----------------------+---------+---------------------+--------+-------------------------------------------------------------
i+ | kernel-default-devel | package | 5.14.21-150500.53.2 | x86_64 | (System Packages)
i+ | kernel-default-devel | package | 6.4.0-150600.23.7.3 | x86_64 | Sle-Update
i+ | kernel-default-devel | package | 6.4.0-150600.23.7.3 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | kernel-default-devel | package | 6.4.0-150600.21.3   | x86_64 | OSS

5.14 was my fallback-kernel after the Upgarde to Leap 15.6, will be deleted…

1 Like

so it is OK to let it update then?

Yes, I think so.

2 Likes

Yes, that’s exactly what happened here.

1 Like

What makes you think it is downgrading anything? I do not see the string 23.7 anywhere in the output you provided.

From OP

" am runnin Leap 15.6 and have 6.4.0-150600.**23.7-**default #1 SMP PREEMPT_DYNAMIC kernel"

And? How exactly installing yet another kernel-default package affects it? You are aware that you usually have multiple kernel packages at the same time, are not you?

And why not a command with output, but story telling?

uname -r

Here on Leap 15.6 – my ‘/var/log/zypp/history’ –

2024-06-23 13:13:46|command|root@xxx|'zypper' 'update'|
 .
 .
# 2024-06-23 13:14:28 kernel-default-6.4.0-150600.21.3.x86_64.rpm installed ok
# Additional rpm output:
 .
 .
2024-06-23 13:14:28|install|kernel-default|6.4.0-150600.21.3|x86_64||repo-oss|ad807b873d37aa7cb0311738ebeadf3f8b82e7757c4e7f2d829040babaf4169110cedc9aa1aaaf671b5db50d031e341f8b094b29f77fbd272c6c48b2e6910a1b|
2024-06-23 13:14:29|remove |kernel-default|6.4.0-150600.21.2|x86_64||
 .
 .
2024-06-23 13:14:52|remove |kernel-default-optional|6.4.0-150600.21.2|x86_64||
# 2024-06-23 13:14:52 kernel-default-extra-6.4.0-150600.21.2.x86_64 removed ok
# Additional rpm output:
# kernel-default-extra-6.4.0-150600.21.2: no kernel modules removed
#
 .
 .
2024-06-25 18:23:44|command|root@xxx|'zypper' 'patch'|
 .
 .
# 2024-06-25 18:24:13 kernel-default-6.4.0-150600.23.7.3.x86_64.rpm installed ok
2024-06-25 18:24:13|install|kernel-default|6.4.0-150600.23.7.3|x86_64||repo-sle-update|1c64452f03896e18e568dcd29d2668a5bcf9924e24ebdbf45511a8c91358391c|

Why? What happened?

  • Answer:
    There was a Kernel key mishap – the original Kernel released for Leap 15.6 was built against an expired, outdated key …
    Therefore, and update was needed to deliver the correct current key and, remove the expired, outdated key …

And then, a few days later, the current Leap 15.6 Kernel was redelivered with a patch and, the correct, current, key …

 > LANG=C date
Tue Jul  2 15:51:26 CEST 2024
 > 
 > uname -r
6.4.0-150600.23.7-default
 >
2 Likes

My apologis, I thought decrease in digits, meant downgrade. My bad

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.