how do I make yum work?
Paul Howarth
paul at city-fan.org
Tue May 31 12:55:55 UTC 2005
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
As for the FM, try this one:
http://www.fedorafaq.org/#gpgsig
Paul.
More information about the fedora-list
mailing list