Home > Server Administration > Linux Server Tips > Fedora yum Error
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.
[root@localhost 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
[root@localhost 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
Linux Server Tips
|