08.21.2019
Fix yum update - GPG Key conflict in puppet build
The GPG keys listed for the "Puppet Labs PC1 Repository el 7 - x86_64" repository are already installed but they are not correct for this package.
When do yum update, error "The GPG keys listed for the "Puppet Labs PC1 Repository el 7 - x86_64" repository are already installed but they are not correct for this package." was appear to stop update process.By this way, we can fix this error
$ curl --remote-name --location https://yum.puppetlabs.com/RPM-GPG-KEY-puppet
$ gpg --keyid-format 0xLONG --with-fingerprint ./RPM-GPG-KEY-puppet
pub 4096R/0x7F438280EF8D349F 2016-08-18 Puppet, Inc. Release Key (Puppet,
Inc. Release Key) <[email protected]>
Key fingerprint = 6F6B 1550 9CF8 E59E 6E46 9F32 7F43
8280 EF8D 349F
sub 4096R/0xA2D80E04656674AE 2016-08-18 [expires: 2021-08-17]
$ rpm --import RPM-GPG-KEY-puppet
Hope this help.