Yum gpg keys -

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Dec 6 14:54:11 UTC 2006


Bob Goodwin wrote:
> Mikkel L. Ellertson wrote:
>> Bob Goodwin wrote:
>>  
>>> Where can I find a list of gpg keys and instructions for installing
>>> them?
>>>
>>> My temporary solution to the problem is simply disabling the gpg check
>>> as I run into the problem with livna, dries, etc.
>>> I would prefer to have everything working properly.  I believe I found a
>>> page that had them all once but I seem to have lost that information and
>>> google has not been much help.
>>>
>>> Thanks.
>>>
>>> Bob Goodwin
>>>     
>>
>> You can find the keys on the ISO image, or on any of the mirror
>> sites. Look for files like:
>>
>> RPM-GPG-KEY
>> RPM-GPG-KEY-fedora
>> RPM-GPG-KEY-fedora-extras
>>
>> You install them using rpm --import as root.
>>
>> rpm --import RPM-GPG-KEY-fedora
>>
>> Some (all?) repositories have an RPM that installs the key for the
>> repo and installs the necessary file to use them.
>>
>> Mikkel
>>   
> Thank you for the help.  I think I was able to get a Livna key installed
> but just finding a list seems to be a problem.  I should thin they all
> should be available from one place rather than the complicated mess I
> have to deal with.
> 
> for instance google took me to the following:
> 
> ]# rpm --import http://dries.ulyssis.org/rpm/RPM-GPG-KEY-dries.txt
> error: http://dries.ulyssis.org/rpm/RPM-GPG-KEY-dries.txt: import read
> failed(-1).
> Segmentation fault
> Yet I can find the key as a text file at that address and could copy it
> if I could find where GPG keys are  filed.  The yum man page says
> nothing about keys and I couldn't "locate" any yum GPG key files.  There
> must be some because yum works for routine updates?
> 
Strange, when I try to use that address, I get a page not found
error. This is probably what RPM was complaining about. You may want
to try:

http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt

> Why is this so difficult?   Is it just me?
> 
> Bob Goodwin
> 

Now, as far as where the keys are stored, yum does not store the
keys. RPM stores the keys in a database. When you run "rpm --import
<key>", you are telling RPM to add the key to its database. It does
not matter where the key file is, as long as you give RPM the
correct path to the key file. (If it is in the current directory,
you do not have to specify a path.)

The reason the keys are not all in the same place is that repos like
Dries. Livna, and Fresh RPMS are independent from Fedora. They have
packages that are not included in Fedora because of their license,
or can not be distributed because of other issues. Some are not
legal to use is specific countries. Those Repositories are no
maintained by Redhat or Fedora. They are provided by users wanting
to contribute to the community.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list