Fedora Core 3 yum Error - public key not available

When i install software with yum on Fedora Core release 3, i got error - public key not available.

[[email protected] packages]# yum install lynx
Setting up Install Process
Setting up Repo:  base
repomd.xml                100% |=========================| 1.1 kB    00:00
Setting up Repo:  updates-released
repomd.xml                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
base      : ################################################## 2622/2622
updates-re: ################################################## 910/910
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for lynx to pack into transaction set.
lynx-2.8.5-18.0.2.i386.rp 100% |=========================|  21 kB    00:01
---> Package lynx.i386 0:2.8.5-18.0.2 set to be installed
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Install: lynx.i386 0:2.8.5-18.0.2
Is this ok [y/N]: y
Downloading Packages:
lynx-2.8.5-18.0.2.i386.rp 100% |=========================| 1.8 MB    01:26
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 4f2a6fd2
public key not available for //var/cache/yum/updates-released/packages/lynx-2.8.5-18.0.2.i386.rpm
[[email protected] packages]#

The problem is fixed with following command.

rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

If this do not work, you need to get the GPG key from the respository.

If that doesn't work, try this:

wget http://ftp.belnet.be/linux/fedora/linux/core/3/i386/os/RPM-GPG-KEY-fedora
rpm --import RPM-GPG-KEY-fedora

Get in touch with us

Questions? Concerns? Comments? We want to hear from you!
Drop us a line with whatever is on your mind and we will get back to you ASAP!!