PGP problems with RH9 and YUM
Maurice
maurice at cds-cumberland.org
Tue Jul 27 18:52:09 UTC 2004
I have a RH9 server that I'd like to use YUM to update.
I started off with:
rpm -Uvh gnupg-1.2.1-9.i386.rpm
rpm -ivh yum-2.0.3-0.fdr.1.rh90.noarch.rpm
Then, I followed the steps listed from the FedoraLegacy project,
http://www.fedoralegacy.org/docs/yum-rh9.php
But I keep getting the same error(s) related to PGP key(s)...
Here's my YUM.conf:
# See the yum.conf(5) man page for information the syntax of this file,
# including failover setup.
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
# Please use nearby mirrors! For a an up to date list of Fedora
mirrors, see
# <http://www.fedora.us/wiki/FedoraMirrorList>.
[redhat-os]
name=Red Hat Linux $releasever ($basearch)
baseurl=http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/os/
# http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/os/
#
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/os/
#
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/os/
#
http://mirrors.kernel.org/fedora/fedora/redhat/$releasever/$basearch/yum/os/
# http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/os/
#
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/os/
#
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/os/
# ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/os/
# http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/os/
#
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/os/
gpgcheck=1
failovermethod=priority
[redhat-updates]
name=Red Hat Linux $releasever ($basearch) updates
baseurl=http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/
#
http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/
#
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/updates/
#
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/updates/
#
http://mirrors.kernel.org/fedora/fedora/redhat/$releasever/$basearch/yum/updates/
#
http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/
#
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/updates/
#
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/updates/
# ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/updates/
#
http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/updates/
#
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/
gpgcheck=1
failovermethod=priority
[fedora-stable]
name=Fedora Linux / stable for Red Hat Linux $releasever ($basearch)
baseurl=http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/stable/
#
http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/stable/
#
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/stable/
#
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/stable/
#
http://mirrors.kernel.org/fedora/fedora/redhat/$releasever/$basearch/yum/stable/
#
http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/stable/
#
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/stable/
#
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/stable/
# ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/stable/
#
http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/stable/
#
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/stable/
gpgcheck=1
failovermethod=priority
#[fedora-testing]
#name=Fedora Linux / testing for Red Hat Linux $releasever ($basearch)
#baseurl=
#
http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/testing/
#
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/testing/
#
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/testing/
#
http://mirrors.kernel.org/fedora/fedora/redhat/$releasever/$basearch/yum/testing/
#
http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/testing/
#
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/testing/
#
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/testing/
# ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/testing/
#
http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/testing/
#
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/testing/
#gpgcheck=1
#failovermethod=priority
#[fedora-unstable]
#name=Fedora Linux / unstable for Red Hat Linux $releasever ($basearch)
#baseurl=
#
http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/unstable/
#
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/unstable/
#
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/unstable/
#
http://mirrors.kernel.org/fedora/fedora/redhat/$releasever/$basearch/yum/unstable/
#
http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/unstable/
#
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/unstable/
#
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/unstable/
# ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/unstable/
#
http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/unstable/
#
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/unstable/
#gpgcheck=1
#failovermethod=priority
#[fedora-k12ltsp]
#name=K12LTSP for Red Hat Linux $releasever ($basearch)
#baseurl=
#
http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#
http://mirrors.kernel.org/fedora/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#
http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
# ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/k12ltsp/
#
http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/k12ltsp/
#gpgcheck=1
#failovermethod=priority
[macromedia]
name=Macromedia Flash Player for Red Hat Linux $releasever
baseurl=
http://macromedia.mplug.org/apt/redhat/$releasever/
# http://sluglug.ucsc.edu/macromedia/apt/redhat/$releasever/
# http://ruslug.rutgers.edu/macromedia/apt/redhat/$releasever/
# http://macromedia.rediris.es/apt/redhat/$releasever/
gpgcheck=1
failovermethod=priority
I did the rpm --import for these KEYS:
rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
rpm --import /usr/share/doc/redhat-release-9/RPM-GPG-KEY
I've done several yum clean.
Here is the console text:
[root at penguin2 root]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Linux / stable for Red Hat Linux 9 (i386)
Server: Macromedia Flash Player for Red Hat Linux 9
Server: Red Hat Linux 9 (i386)
Server: Red Hat Linux 9 (i386) updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[update: gkrellm 2.1.19-0.fdr.1.rh90.i386]
[update: dia 1:0.91-0.fdr.5.i386]
[update: cvs 1.11.2-23.legacy.i386]
[update: mailman 3:2.1.1-7.legacy.i386]
[update: perl-DateManip 5.42-0.fdr.2.a.rh90.noarch]
[update: xchat 1:2.0.4-0.fdr.1.rh90.i386]
[update: nmap 2:3.30-0.fdr.1.rh90.i386]
[update: sysklogd 1.4.1-14.legacy.9.i386]
[update: nmap-frontend 2:3.30-0.fdr.1.rh90.i386]
Is this ok [y/N]: y
Getting gkrellm-2.1.19-0.fdr.1.rh90.i386.rpm
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/gkrellm-2.1.19-0.fdr.1.rh90.i386.rpm
Error: You may want to run yum clean or remove the file:
/var/cache/yum/fedora-stable/packages/gkrellm-2.1.19-0.fdr.1.rh90.i386.rpm
Error: You may also check that you have the correct GPG keys installed
So what am I missing???
Thanks
-Maurice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-legacy-list/attachments/20040727/49faf7cd/attachment.htm>
More information about the fedora-legacy-list
mailing list