Wednesday, February 6, 2019

The GPG keys listed for the "DevOps LKD 23" repository are already installed but they are not correct for this package.

Issue:

The GPG keys listed for the "DevOps LKD 23" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, priorities, product-id

Solution:

cd /etc/pki/rpm-gpg/

And reimport the key with rpm command related to the "REPOSITORY NAME"

rpm --import  /etc/pki/rpm-gpg/RPM-GPG-KEY-DevOps-LKD

Note: Just take a look at the /etc/yum.repos.d/repo.conf (This could be different name)

Happy Linux!

No comments: