Error: ... correct GPG keys installed?

beartooth beartooth at adelphia.net
Thu Mar 3 19:39:23 UTC 2005


On Thu, 03 Mar 2005 13:26:10 -0500, Jim Popovitch wrote:

> 
> Do this:
>    gpg --list-keys

That gave me this, surprisingly, on three machines : 
                            =====
[root at localhost root]# gpg --list-keys
gpg: /root/.gnupg: directory created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/pubring.gpg' created
[root at localhost root]#
                            =====


> If you don't see 2 keys (Fedora Legacy and Red Hat, Inc) then do this:
> 
>    gpg --import /usr/share/doc/yum-1.0.3/RPM-GPG-KEY
>    gpg --import /usr/share/doc/yum-1.0.3/Fedora-Legacy-GPG-KEY

On the first and main machine, one where I do get the GPG error, that gave:
                           =====
[root at localhost root]# gpg --import /usr/share/doc/yum-1.0.3/RPM-GPG-KEY
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: can't open `/usr/share/doc/yum-1.0.3/RPM-GPG-KEY': No such file or directory
gpg: Total number processed: 0
[root at localhost root]# gpg --import /usr/share/doc/yum-1.0.3/Fedora-Legacy-GPG-KEY
gpg: can't open `/usr/share/doc/yum-1.0.3/Fedora-Legacy-GPG-KEY': No such file or directory
gpg: Total number processed: 0
[root at localhost root]#
                          =====

> If that doesn't work
> 
>    rm -rf /root/.gnupg
>    (repeat above)

Well, I hope I understood the correct "above" to repeat. I did : 
                            =====
[root at localhost root]# rm -rf /root/.gnupg
[root at localhost root]# gpg --list-keys
gpg: /root/.gnupg: directory created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/pubring.gpg' created
[root at localhost root]# gpg --import /usr/share/doc/yum-1.0.3/RPM-GPG-KEY
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: can't open `/usr/share/doc/yum-1.0.3/RPM-GPG-KEY': No such file or directory
gpg: Total number processed: 0
[root at localhost root]# gpg --import /usr/share/doc/yum-1.0.3/Fedora-Legacy-GPG-KEY
gpg: can't open `/usr/share/doc/yum-1.0.3/Fedora-Legacy-GPG-KEY': No such file or directory
gpg: Total number processed: 0
[root at localhost root]#
                          =====
Trying again, I still get : 
                          =====
[....]
Is this ok [y/N]: y
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 8df56d05
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/fedora-stable/packages/perl-DateManip-5.42-0.fdr.2.a.1.noarch.rpm
Error: You may want to run yum clean or remove the file:
 /var/cache/yum/fedora-stable/packages/perl-DateManip-5.42-0.fdr.2.a.1.noarch.rpm
Error: You may also check that you have the correct GPG keys installed
[root at localhost root]#
                         =====

So did I misinterpret what to do over again? Or what?
-- 
Beartooth Implacable, Linux Evangelist & Gadfly
neo-redneck, curmudgeonly codger with FC1 & YDL 4.0
Pine 4.61, Pan 0.14.2; Privoxy 3.0.1; Opera 7.54, Firefox 1.0
Bear in mind that I have little idea what I am talking about.





More information about the fedora-legacy-list mailing list