Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-02-2005, 04:51 AM   #1
Registered: Jun 2004
Location: Why, in front of the screen.
Distribution: I switch distros more than a pre-teen visits the today, FC3--tomorrow--who knows?
Posts: 39

Rep: Reputation: 15
Unhappy Where to find the gpg keys for repos

I just installed FC3 on my system again and wanted to expand my yum repos. I have all of the repos recognized/enabled through yum, yet whenever I try to update I am asked for the public.gpg.key.

The list of repos is available from this site:

I don't quite know what to do with the public.gpg.key. Would I have to install??/enable??/config?? each individual one for each repo?? And does anyone know where these gpg keys are? Where should I put them if I do download them? yum folder?

I did a "yum search public.gpg.key" to see if it would return with anything, but I get :

[root@localhost ~]# yum search public.gpg.key
Searching Packages:
Setting up Repo: dries
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
dries : ################################################## 622/622
freshrpms-release.noarch 1-1.1.fc3.rf dag
Matched from: release file. This package also contains yum configuration to
use the provided rpm packages, as well as the public gpg key
used to sign them.

[root@localhost ~]# 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@localhost ~]# rpm --import public.gpg.key
error: public.gpg.key: import read failed.

I have also gone into my yum.config file and have manually changed the gpgcheck to equal 0. Yet I still get the same response.
I can't find them in google or yahoo searches... and I looked around a bit before I posted this. I didn't see anything that addressed this "problem" though. So sorry if it's redundant!

Is there some way to override the gpgcheck??
What am I doing wrong? Ack!

Old 01-02-2005, 02:42 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
You should have the keys on your system which will work for base and updates, in /usr/share/rhn
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

When I setup an new type of repo like livna, then I imported the GPG-Key for livna with this command:
rpm --import


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gpg keys pr0xibus Fedora 1 10-04-2005 10:45 AM
gpg keys in ubuntu. greythorne Ubuntu 0 07-09-2005 05:13 AM
gpg keys, and why i cant import them AnimaSola Linux - Software 3 04-17-2005 06:49 PM
yum gpg keys? Infernal211283 Linux - Newbie 3 02-14-2005 12:23 AM
Using GPG KEYS 0n Install CD browser Fedora 1 01-23-2005 05:06 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration