how do I make yum work?
Paul Howarth
paul at city-fan.org
Tue May 31 12:59:37 UTC 2005
Paul Howarth wrote:
> Michael Hennebry wrote:
>
>> After yet another fresh install of FC3, I
>> tried to update with yum:
>> [hennebry at 24-117-46-53 ~]$ su -
>> Password:
>> [root at 24-117-46-53 ~]# yum update
>>
>> You have enabled checking of packages via GPG keys. This is a good thing.
>> However, you do not have any GPG public keys installed. You need to
>> download
>> the keys for packages you wish to install and install them.
>> You can do that by running the command:
>> rpm --import public.gpg.key
>> For more information contact your distribution or package provider.
>> [root at 24-117-46-53 ~]# rpm --import public.gpg.key
>> error: public.gpg.key: import read failed.
>> [root at 24-117-46-53 ~]#
>>
>> Now what?
>> If the answer is RTFM, WITFM?
>> Googling yum FAQ didn't help.
>
>
> The "public.gpg.key" is not meant to be interpreted as literal text; it
> represents the GPG key for the repository you are trying to use.
>
> So for the default repos in FC3, you can do:
>
> # rpm --import /usr/share/doc/fedora-release-*/RPM-GPG-KEY
Whoops, better make that:
# rpm --import /usr/share/doc/fedora-release-*/RPM-GPG-KEY*
Paul.
More information about the fedora-list
mailing list