On Fri, Dec 21, 2007 at 04:47:46PM -0800, Ralph Shumaker wrote: > yum refuses to update: > perl-Test-Harness > perl-Test-Simple > and gives this complaint: > GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or > directory: '/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dries' > > I don't remember having to deal with such things before. Shouldn't > yum automatically get the KEYs it needs? > > What do I need to do to get it to go?
Normally, these files are installed along with the repo RPM.
[EMAIL PROTECTED] ~]$ rpm -qf /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dries
rpmforge-release-0.3.6-1.el4.rf
However, you may not have installed the yum repository config with the
RPM, instead copying it from somewhere.
[EMAIL PROTECTED] ~]$ rpm -qf /etc/yum.repos.d/rpmforge.repo
rpmforge-release-0.3.6-1.el4.rf
[EMAIL PROTECTED] ~]$ grep gpgkey /etc/yum.repos.d/rpmforge.repo
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
As you can see, I happen to use Dag's instead of Dries' key. You don't
need to go to the trouble of installing the RPM, however.
[EMAIL PROTECTED] ~]$ sudo rpm --import
http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt
pgpwYT5VWwQYM.pgp
Description: PGP signature
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
