Diary

Preparing for AlmaLinux 8 GPG Key Change

1 Mins read

dnf command error

dnf update

AlmaLinux 8 - BaseOS 485 kB/s | 3.4 kB 00:00 
Importing GPG key 0xC21AD6EA: 
Userid : "AlmaLinux <packager@almalinux.org>" 
Fingerprint: E53C F5EF 91CE B0AD 1812 ECB8 51D6 647E C21A D6EA 
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux 
Is this ok? [y/N]: y 
Key import succeeded 
Importing the key didn't help. Is the key wrong?

The key has been updated

AlmaLinux 8 GPG Key Change

Starting January 12, 2024, AlmaLinux 8 RPM packages and repo metadata will be signed with an updated GPG key. Follow the steps below to continue receiving updates without issues after the switch.

If you want to verify that your system already contains the new AlmaLinux 8 GPG key and trusts it, just import it.

sudo rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux