Re: How do I install GPG keys for yum?
From: Matt (matt_at_themattfella.zzzz.com)
Date: 02/10/04
- Next message: Robert M. Riches Jr.: "Re: kscd no sound, but sound card test works"
- Previous message: William Winkler: "kscd no sound, but sound card test works"
- In reply to: Andreas Tretow: "Re: How do I install GPG keys for yum?"
- Next in thread: Rex Dieter: "Re: How do I install GPG keys for yum?"
- Reply: Rex Dieter: "Re: How do I install GPG keys for yum?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 10 Feb 2004 18:00:30 GMT
Andreas Tretow wrote:
> On Tue, 10 Feb 2004 05:51:05 +0000, Matt wrote:
>
> [Followup-to set to linux.redhat.install]
>
>
>>G. Wolfe Woodbury wrote:
>>
>>>Matt <matt@themattfella.zzzz.com> shaped electrons to say:
>>>
>>>
>>>>Hi--
>>>>
>>>>After making a fresh RH8.0 install, I downloaded yum and its supporting
>>>>rpm's starting from http://www.fedora.us/wiki/FedoraHOWTO. Apparently
>>>>fedora.us makes their own particular yum package.
>>>>
>>>>After getting that yum installed, I ran it to update my installed
>>>>packages. All seemed to be going well until yum announced that it
>>>>couldn't install the first package because:
>>>>
>>>> Could not find the GPG key necessary to validate pkg <package-name>.
>>>>
>>>>It suggested that I run 'yum clean', which I guess had the effect of
>>>>removing all rpm's for which yum couldn't find keys, which was everything.
>>>>
>>>>It also mentioned in passing :-) that:
>>>>
>>>> You may also check that you have the correct GPG keys installed
>>>>
>>>>I checked the man page and looked for GPG keys here and there but am
>>>>left without any promising clues.
>>>>
>>>>So how do I install the GPG keys for yum?
>>>
>>>
>>>The command for importing GPG keys is from RPM
>>>
>>> rpm --import <key_file>
>>>
>>>The keyfiles are generally in /usr/share/rhn or on the top-level of the
>>>first install cd.
>>>
>>
>>I took the file RPM-GPG-KEY from the top-level of the first RH8.0
>>install CD and ran 'rpm --import RPM-GPG-KEY', and that did not seem to
>>help. Do I need a different key for RH8.0 updates? Or maybe yum is
>>somehow trying to fetch packages not released by Redhat? That doesn't
>>sound right. Or maybe yum can't see rpm's config files?
>
>
> Yum can't see the rpm config and doesn't need to because the rpm utility
> does the checking internally. You should check your /etc/yum.conf for
> entries other than core and updates, like eg. freshrpms. If you have this
> entry, you also need to import the freshrpms gpg key as well (same goes
> for other package maintainers). For further info and the freshrpms
> key check
>
> http://freshrpms.net/packages/
>
> HTH
> Andreas
>
Thanks. I downloaded the freshrpms key from that site, but it didn't
help. Here is the same old output:
Gathering header information file(s) from server(s)
Server: Fedora Linux / stable for Red Hat Linux 8.0 (i386)
Server: Macromedia Flash Player for Red Hat Linux 8.0
Server: Red Hat Linux 8.0 (i386)
Server: Red Hat Linux 8.0 (i386) updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: kernel 2.4.20-28.8.i586]
<snip about 20 package names>
[update: tcpdump 14:3.6.3-17.8.0.5.legacy.i386]
<snip about 5 package names>
Is this ok [y/N]: y
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 731002fa
Error: Could not find the GPG Key necessary to validate pkg
/var/cache/yum/redhat-updates/packages/tcpdump-3.6.3-17.8.0.5.legacy.i386.rpm
Error: You may want to run yum clean or remove the file:
/var/cache/yum/redhat-updates/packages/tcpdump-3.6.3-17.8.0.5.legacy.i386.rpm
Error: You may also check that you have the correct GPG keys installed
- Next message: Robert M. Riches Jr.: "Re: kscd no sound, but sound card test works"
- Previous message: William Winkler: "kscd no sound, but sound card test works"
- In reply to: Andreas Tretow: "Re: How do I install GPG keys for yum?"
- Next in thread: Rex Dieter: "Re: How do I install GPG keys for yum?"
- Reply: Rex Dieter: "Re: How do I install GPG keys for yum?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|