sychn Posted November 25, 2022 Share Posted November 25, 2022 Hi m8s, When I ran yum upgrade today, it told me the error below. Quote warning: /var/cache/yum/x86_64/7/city-fan.org/packages/perl-Clone-0.46-1.rhel7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 98661eb8: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-city-fan.org The GPG keys listed for the "city-fan.org repository for Red Hat Enterprise Linux (and clones) 7 (x86_64)" 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: perl-Clone-0.46-1.rhel7.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-city-fan.org Does anyone know how to fix it? Thanks! Link to comment Share on other sites More sharing options...
gigantor Posted November 25, 2022 Share Posted November 25, 2022 You need to import the package key so it is accepted. rpm --import https://mirror.city-fan.org/ftp/contrib/GPG-KEYS/RPM-GPG-KEY-city-fan.org-rhel-7 sychn 1 Link to comment Share on other sites More sharing options...
sychn Posted November 28, 2022 Author Share Posted November 28, 2022 On 11/26/2022 at 7:44 AM, gigantor said: You need to import the package key so it is accepted. rpm --import https://mirror.city-fan.org/ftp/contrib/GPG-KEYS/RPM-GPG-KEY-city-fan.org-rhel-7 Thanks, m8. It works! Link to comment Share on other sites More sharing options...
Recommended Posts