Almalinux ISO de 8.1 à 8.7 problème dnf update : GPG check FAILED
Lors d'une tentative de dnf update il se peut qu'un problème de clé pose problème.
Error: GPG check FAILED
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
Public key for yum-4.7.0-20.el8.alma.noarch.rpm is not installed. Failing package is: yum-4.7.0-20.el8.alma.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
Deux options sont possibles :
1)
sudo rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
dnf upgrade almalinux-release
2)
dnf upgrade almalinux-release --nogpgcheck
dnf update