Public key for xyz.rpm is not installed


Public key for xyz.rpm is not installed


While installaing any package in the Redhat Linux...many of us will face the same issue. Here is the sollution for this .

When you try installing some packages via yum or up2date you might come across this error.
Public key for xyz. is not installed
To resolve this issue, you should download the  key and import that into your RPM database.
On  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  or , 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.

Comments

Popular posts from this blog

[SOLVED]* Please wait for the system Event Notification service

Rebuild the initial ramdisk image in Red Hat Enterprise Linux

Python reference Interview questions