New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Kernel can´t be updated after latest version updates

Started by muscator, November 23, 2026, 10:35:37 PM

Previous topic - Next topic

muscator

On servers running 1.30.36 and 2.0.30 the Yum manager declares that a new kernel upgrade is available among other upgrades

When starting the upgrade om both versions, the usual green banner with 'upgrades running' appears

Normally a kernel upgrade takes 3-5 minutes - both servers just stand and apparently no upgrades are running, when checking the processes and serverload

A thought could be that it is now so restricted that it does not allow a new kernel for some reason?

No matter what, it is a bug that needs to be handled asap

This is happening on Alma 9.9: Kernel Version: 5.14.0-741.24.1.el9_9.x86_64 updating to: 5.14.0-741.26.1.el9_9

It may be relevant for other kernel versions as well


muscator

After the nightly cron run it still showet available updates in the infobox

I then ran the update again

After a few seconds it poppede a new message saying that update completed successfully

But - all the updates remain in the yum window as still available  and not removed as it normally would

I am not sure if I should just run the reboot and see if it has actually updated, would be bad if it breaks the servers




muscator

Tried to run a reboot on one of the servers - nothing has been updated and the new kernel still remains to be installed

So - apparently the newest CWPpro blocks for any update at all

As the kernel update is listed as security update, this is not good

Hopefully it will be resolved very soon

It applies to both 2.0.30 and 1.30.36

muscator

According to latest version 1.30.37, it should solve the problem.

It doesn´t.

The problem persists on 2.0.31 and 1.30.37

Only difference is that it now has changed from saying completed successfully to 'see the log for dependencies etc'

This is not a solution

It is clearly the cwp updates that somehow now blocks security updates to kernel etc as this has never happened before

Please provide a solution that works.


Starburst

The system Kernel and CWP are 2 separate repos, unless you have CWP's 'Secure Kernel'

Otherwise the Kernel comes from the AlmaLinux repo, which the last kernel they released is what you show - 5.14.0-741.26.1.el9_9

What does:
grubby --info=ALL | grep ^kernelshow?

IF it's listed
and
IF you have a stock Grub, you can force the new kernel with:

sudo grubby --set-default /boot/vmlinuz-5.14.0-741.26.1.el9_9.x86_64

muscator

THanks for answering

For the past many years, I have just used the "yum manager" in CWP to update kernels - latest one week ago

Now - suddenly, it doesn´t work anymore....

Log shows this:

2026-11-24T13:11:01+0100 INFO ========================================================================================
 Package                  Arch    Version                      Repository           Size
========================================================================================
Installing:
 kernel                   x86_64  5.14.0-741.26.1.el9_9        baseos              869 k
 kernel-core              x86_64  5.14.0-741.26.1.el9_9        baseos               17 M
 kernel-devel             x86_64  5.14.0-741.26.1.el9_9        appstream            18 M
 kernel-modules           x86_64  5.14.0-741.26.1.el9_9        baseos               40 M
 kernel-modules-core      x86_64  5.14.0-741.26.1.el9_9        baseos               31 M
 kernel-modules-extra     x86_64  5.14.0-741.26.1.el9_9        baseos              1.3 M
Upgrading:
 flatpak                  x86_64  1.12.9-6.el9_9.6             appstream           1.7 M
 flatpak-selinux          noarch  1.12.9-6.el9_9.6             appstream            22 k
 flatpak-session-helper   x86_64  1.12.9-6.el9_9.6             appstream            73 k
 kernel-headers           x86_64  5.14.0-741.26.1.el9_9        appstream           2.4 M
 kernel-tools             x86_64  5.14.0-741.26.1.el9_9        baseos              1.1 M
 kernel-tools-libs        x86_64  5.14.0-741.26.1.el9_9        baseos              882 k
 libgs                    x86_64  9.54.0-19.el9_8.3.alma.1     appstream           3.1 M
 libgsf                   x86_64  1.14.47-5.el9_9.1            appstream           244 k
 openssh                  x86_64  9.9p1-17.el9_9.alma.1        baseos              423 k
 openssh-clients          x86_64  9.9p1-17.el9_9.alma.1        baseos              771 k
 openssh-server           x86_64  9.9p1-17.el9_9.alma.1        baseos              547 k
 php-common               x86_64  8.0.30-8.el9_9.2             appstream           672 k
 xdg-desktop-portal       x86_64  1.12.6-1.el9_9.1             appstream           366 k
Removing:
 kernel                   x86_64  5.14.0-687.61.1.el9_8.cwpsec @cwp-secure-kernel    0 
 kernel-core              x86_64  5.14.0-687.61.1.el9_8.cwpsec @cwp-secure-kernel   69 M
 kernel-devel             x86_64  5.14.0-687.66.1.el9_8        @appstream           71 M
 kernel-modules           x86_64  5.14.0-687.61.1.el9_8.cwpsec @cwp-secure-kernel   38 M
 kernel-modules-core      x86_64  5.14.0-687.61.1.el9_8.cwpsec @cwp-secure-kernel   29 M
Removing dependent packages:
 kernel-modules-extra     x86_64  5.14.0-687.61.1.el9_8.cwpsec @cwp-secure-kernel  426 k

Transaction Summary
========================================================================================
Install   6 Packages
Upgrade  13 Packages
Remove    6 Packages

2026-11-24T13:11:01+0100 INFO Total size: 120 M
2026-11-24T13:11:01+0100 INFO Downloading Packages:
2026-11-24T13:11:01+0100 DEBUG Using rpmkeys executable at /usr/bin/rpmkeys to verify signatures
2026-11-24T13:11:02+0100 INFO Running transaction check
2026-11-24T13:11:03+0100 DDEBUG Cleaning up.
2026-11-24T13:11:03+0100 INFO The downloaded packages were saved in cache until the next successful transaction.
2026-11-24T13:11:03+0100 INFO You can remove cached packages by executing 'dnf clean packages'.
2026-11-24T13:11:03+0100 DDEBUG Plugins were unloaded.
2026-11-24T13:11:03+0100 SUBDEBUG
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/dnf/db/group.py", line 347, in _populate_rpm_ts
    ts.addErase(tsi.pkg.idx)
  File "/usr/lib64/python3.9/site-packages/rpm/transaction.py", line 103, in addErase
    raise rpm.error("package not installed")
_rpm.error: package not installed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 70, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 109, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 144, in cli_run
    ret = resolving(cli, base)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 190, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.9/site-packages/dnf/cli/cli.py", line 309, in do_transaction
    tid = super(BaseCli, self).do_transaction(display)
  File "/usr/lib/python3.9/site-packages/dnf/base.py", line 986, in do_transaction
    self.transaction._populate_rpm_ts(self._ts)
  File "/usr/lib/python3.9/site-packages/dnf/db/group.py", line 359, in _populate_rpm_ts
    raise dnf.exceptions.Error(_("An rpm exception occurred: %s" % e))
dnf.exceptions.Error: An rpm exception occurred: package not installed
2026-11-24T13:11:03+0100 CRITICAL Error: An rpm exception occurred: package not installed
2026-11-24T13:11:05+0100 INFO --- logging initialized ---
2026-11-24T13:11:05+0100 DDEBUG timer: config: 5 ms
2026-11-24T13:11:05+0100 DEBUG Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, post-transaction-actions, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
2026-11-24T13:11:05+0100 DEBUG DNF version: 4.14.0
2026-11-24T13:11:05+0100 DDEBUG Command: dnf --setopt=*.skip_if_unavailable=True check-update
2026-11-24T13:11:05+0100 DDEBUG Installroot: /
2026-11-24T13:11:05+0100 DDEBUG Releasever: 9
2026-11-24T13:11:05+0100 DEBUG cachedir: /var/cache/dnf
2026-11-24T13:11:05+0100 DDEBUG Base command: check-update
2026-11-24T13:11:05+0100 DDEBUG Extra commands: ['--setopt=*.skip_if_unavailable=True', 'check-update']
2026-11-24T13:11:05+0100 DEBUG User-Agent: constructed: 'libdnf (AlmaLinux 9.9; generic; Linux.x86_64)'
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: cwp
2026-11-24T13:11:06+0100 DEBUG cwp: using metadata from Sun Nov 22 09:07:06 2026.
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: appstream
2026-11-24T13:11:06+0100 DEBUG appstream: using metadata from Tue Nov 24 09:54:45 2026.
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: baseos
2026-11-24T13:11:06+0100 DEBUG baseos: using metadata from Tue Nov 24 09:54:51 2026.
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: crb
2026-11-24T13:11:06+0100 DEBUG crb: using metadata from Mon Nov 23 17:17:14 2026.
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: extras
2026-11-24T13:11:06+0100 DEBUG extras: using metadata from Mon Nov 16 17:26:31 2026.
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: epel
2026-11-24T13:11:06+0100 DEBUG epel: using metadata from Tue Nov 24 02:32:56 2026.
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: epel-cisco-openh264
2026-11-24T13:11:06+0100 DEBUG epel-cisco-openh264: using metadata from Mon May 22 18:19:21 2023.
2026-11-24T13:11:06+0100 DEBUG repo: using cache for: webmin-stable-noarch
2026-11-24T13:11:06+0100 DEBUG webmin-stable-noarch: using metadata from Mon Sep 21 07:53:41 2026.
2026-11-24T13:11:06+0100 INFO Last metadata expiration check: 0:08:00 ago on Tue Nov 24 13:03:06 2026.
2026-11-24T13:11:06+0100 DDEBUG timer: sack setup: 1086 ms
2026-11-24T13:11:06+0100 DEBUG Excludes in repo epel: nginx*
2026-11-24T13:11:06+0100 DDEBUG Cleaning up.
2026-11-24T13:11:06+0100 DDEBUG Plugins were unloaded.

Starburst

Drop down to the CLI, and run that common to see if it's installed.

Its looks like you had the CWP Secure Kernel installed.
During that install Grub might have been updated, and have to be reset back to 'Default'

AL9 switched to dnf over yum.

Checking updates via CLI is really simple:

sudo dnf --refresh update
Not sure what's going with python3.9 from that screenshot.
Did you manually update/install it?

muscator

Already tried, but now tried again:

Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] kernel-devel-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                               
[SKIPPED] kernel-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                                     
[SKIPPED] kernel-core-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                               
[SKIPPED] kernel-modules-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                             
[SKIPPED] kernel-modules-core-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                       
[SKIPPED] kernel-modules-extra-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                       
[SKIPPED] flatpak-1.12.9-6.el9_9.6.x86_64.rpm: Already downloaded                                                                                                                                                         
[SKIPPED] flatpak-selinux-1.12.9-6.el9_9.6.noarch.rpm: Already downloaded                                                                                                                                                 
[SKIPPED] flatpak-session-helper-1.12.9-6.el9_9.6.x86_64.rpm: Already downloaded                                                                                                                                         
[SKIPPED] kernel-headers-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                             
[SKIPPED] libgs-9.54.0-19.el9_8.3.alma.1.x86_64.rpm: Already downloaded                                                                                                                                                   
[SKIPPED] libgsf-1.14.47-5.el9_9.1.x86_64.rpm: Already downloaded                                                                                                                                                         
[SKIPPED] php-common-8.0.30-8.el9_9.2.x86_64.rpm: Already downloaded                                                                                                                                                     
[SKIPPED] xdg-desktop-portal-1.12.6-1.el9_9.1.x86_64.rpm: Already downloaded                                                                                                                                             
[SKIPPED] kernel-tools-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                               
[SKIPPED] kernel-tools-libs-5.14.0-741.26.1.el9_9.x86_64.rpm: Already downloaded                                                                                                                                         
[SKIPPED] openssh-9.9p1-17.el9_9.alma.1.x86_64.rpm: Already downloaded                                                                                                                                                   
[SKIPPED] openssh-clients-9.9p1-17.el9_9.alma.1.x86_64.rpm: Already downloaded                                                                                                                                           
[SKIPPED] openssh-server-9.9p1-17.el9_9.alma.1.x86_64.rpm: Already downloaded                                                                                                                                             
Running transaction check
warning: Signature not supported. Hash algorithm SHA1 not available.
error: rpmdbNextIterator: skipping h#    3779
Header V4 RSA/SHA1 Signature, key ID fd087ba9: BAD
Header SHA256 digest: OK
Header SHA1 digest: OK
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: An rpm exception occurred: package not installed