Scaleway Centos 7 GPG key yum update problem
Got the following yum update error when launching Scaleway C2 server powered by Centos 7:
warning: /var/cache/yum/armhfp/7/base/packages/firewalld-0.3.9-14.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32
The GPG keys listed for the “CentOS-7 – Base” repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: firewalld-0.3.9-14.el7.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32
Clearly shows GPG key is missing and yum stops there… This is how to fix it in less than 10 seconds:
rpm --import https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
and try to run yum update now.