環境
EC2
AMI: suz-lab_centos-core-6.5.1 (ami-99107d98)
現象
yumコマンド(yum update / yum install php 等)を実行すると、次のようなエラーが発生
The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
解決方法
yum clean all
yum update atomic-release
それでも治らないときは、以下のコマンドを発行し、
rpm --import https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt
/etc/yum.repos.d/atomic.repo の中を以下のように書き換え
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt
file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt