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

Output is still:

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

muscator

As I am rather impatient, I contacted CWP directly on the official supportsite and got an immediate reply, that explained and solved this particular issue immediately

Thanks for the swift and effective reply.

I copied it below, for others with the same problem to find out what the cause is:

"Thank you for the full output; it shows the cause clearly.

Your server still has the old CWP Secure Kernel packages (5.14.0-687.61.1.el9_8.cwpsec) installed from the time they were installed by default. Those old packages were signed with SHA1, and AlmaLinux 9 rejects SHA1 signatures by default. The new AlmaLinux kernel itself is fine, but installing it makes dnf remove one of the old kernels, and rpm can't read that SHA1-signed package. That's the "Header V4 RSA/SHA1 Signature ... BAD" and "package not installed" error. Our current repository packages are SHA256-signed; the problem is only these old installed copies. CWP's update script deliberately skips kernel packages when it repairs SHA1 headers, so on your server this never cleared. We've reported that gap to our developers.

Since you don't use the Secure Kernel, the simplest fix is to allow SHA1 for this single update. dnf can then remove the old Secure Kernel packages and install the standard AlmaLinux kernel.


The problem is now solved for me