When you try installing some packages via yum or up2date you might come across this error.
Public key for xyz.rpm is not installed
To resolve this issue, you should download the GPG key and import that into your RPM database.
On RHEL servers you can find the GPG key under /usr/share/rhn and you can import it as follows :
/usr/bin/gpg –import /usr/share/rhn/RPM-GPG-KEY
Or you can also use
rpm –import /usr/share/rhn/RPM-GPG-KEY
If you’re on a different distribution like CentOS or Fedora, check yum.conf or files which are under /etc/yum.repos.d for repository URL’s. you can access these URLs to find the required GPG keys. Once you find them online, just import it as mentioned earlier.





