Tuesday, May 19, 2009

Red Hat Linux Cd iso's / repository suppy public key [ RPM-GPG-KEY ]

Usually, you need to run following under RHEL 4:

Code:
rpm --import /usr/share/rhn/RPM-GPG-KEYUnder RHEL 5 path is different /etc/pki/rpm-gpg/

Code:
cd /etc/pki/rpm-gpg/
ls -lThere are multiple keys, import required keys as per your setup. using rpm --import command. Running following should fix the problem:

Code:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaseAlso, RPM-GPG-KEY should be on CD itself. Assuming ISO image is mounted in /mnt/disk1/, use the following command to import it into the keyring:

Code:
cd /mnt/disk1/
ls RPM-GPG-KEK*
rpm --import /mnt/disk1/RPM-GPG-KEY

0 comments:

Post a Comment