Cockpit wants me to downgrade kernel

this is completely self inflicted. the newer kernels don’t have a repo attached.

–allow-vendor-change is not set in /etc/zypp/zypp.conf

This is not shown.

bjarte@localhost:~> grep -i multiversion /etc/zypp/zypp.conf
##      provides:multiversion(kernel)   - all packages providing 'multiversion(kernel)'
multiversion = provides:multiversion(kernel)
## Defining directory which may contain additional multiversion definitions.
## one valid multiversion list entry per line. Empty lines and lines starting
## ------------------------- [/etc/zypp/multiversion.d/example file begin] -----------------------
## provides:multiversion(kernel)
## ------------------------- [/etc/zypp/multiversion.d/example file end] -----------------------
## Default value: {configdir}/multiversion.d
# multiversiondir = /etc/zypp/multiversion.d
## above multiversion variable is set. Packages can be specified as
## Default: Do not delete any kernels if multiversion = provides:multiversion(kernel) is set
multiversion.kernels = latest,latest-1,running
bjarte@localhost:~> 


This is not consistent with your system keeping a dozen kernels as detailed in your post #12 so there is something odd in your system. Please check:

bruno@LT-B:~> systemctl status purge-kernels
○ purge-kernels.service - Purge old kernels
     Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled; preset: enabled)
     Active: inactive (dead)
  Condition: start condition unmet at Sun 2026-02-08 15:35:23 CET; 23min ago
             └─ ConditionPathExists=/boot/do_purge_kernels was not met

feb 08 15:35:23 LT-B systemd[1]: Purge old kernels was skipped because of an unmet condition check (ConditionPathExists=/boot/do_purge_kernels).
bruno@LT-B:~>

Just to be sure that the zypper settings are as installed you may check:

bruno@LT-B:~> cat /etc/zypp/zypp.conf | grep VendorChange
# solver.allowVendorChange = false
# solver.dupAllowVendorChange = false
bruno@LT-B:~> ls /etc/zypp/vendors.d/
00-openSUSE.conf
bruno@LT-B:~> cat /etc/zypp/vendors.d/00-openSUSE.conf
[main]
vendors=openSUSE,SUSE,SUSE LLC <https://www.suse.com/>

bruno@LT-B:~>

If something reads different, please post here.

EDIT: correct output for Leap 16.0 (different on Tumbleweed)

WAIT A MOMENT, looks like purge-kernels-service might not be installed by default in Leap 16.0. Please check zypper se -i purge-kernels-service and if not installed I recommend installing it (but, as always, it’s your system and your choice… :wink: ).

See also bug 1256481

1 Like

you re right, it was not installed on my system, thank you.

Depending on the packages that Kvitskjegg installs from all these repositories, it might be possible for him to create a simple _aggregate to collect them in his project without having to rebuild them.

The OBS web interface offers to link a package but not to aggregate, even though that would be useful.

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