Public key not installed error when installing from Dag RPM Repository
Posted February 26th, 2008 in Linux/Unix/BSD
The Dag RPM Repository contains a collection of RPM packages for Red Hat Enterprise Linux, CentOS, Fedora and others which are not included in the base installation/libraries for those Linux distributions. If you get an error message similar to the one shown below when attempting to install an RPM package from the Dag RPM Repository, then you need to install the Dag GPG keys:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6 Public key for jigdo-0.7.3-1.el4.rf.i386.rpm is not installed
Installation of the GPG keys is simple. Go to the Dag RPM Repository FAQ page and look at the section titled "How to configure to use RPMforge". This contains a list of the GPG keys by Linux distribution, version and platform, and the commands you need to run to install them.
For example, if you had a CentOS 4 i386 or Red Hat Enterprise Linux 4 i386 install that you wanted to install the GPG keys to, you would use the Red Hat Enterprise Linux 4 / i386 GPG key like so:
rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
Run the above command as the root user or using the sudo command, and you'll see some output like this:
Retrieving http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm warning: /var/tmp/rpm-xfer.ehiOoh: V3 DSA signature: NOKEY, key ID 6b8d79e6 Preparing... ########################################### [100%] 1:rpmforge-release ########################################### [100%]
And that's all there is to it. You will now be able to install from the Dag RPM Repository, and will no longer receive the error message at the top of this post.
Subscribe!
If you found this post interesting and would like to be notified the next time something is posted, please subscribe to my RSS Feed. Thanks for visiting!
