LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-02-2005, 04:51 AM   #1
spicyohaggis
Member
 
Registered: Jun 2004
Location: Why, in front of the screen.
Distribution: I switch distros more than a pre-teen visits the mall...so 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:
http://www.fedorafaq.org/samples/yum.conf

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
** THE REMAINDER OF THE REPOS GET SET UP**
Reading repository metadata in from local files
dries : ################################################## 622/622
**AGAIN THE REMAINDER OF THE REPOS GET READ**
freshrpms-release.noarch 1-1.1.fc3.rf dag
Matched from:
Freshrpms.net release file. This package also contains yum configuration to
use the freshrpms.net provided rpm packages, as well as the public gpg key
used to sign them.
**SAME THING EXCEPT IN THE FRESH-RPMS REPO**

[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!

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

Rep: Reputation: 61
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 http://rpm.livna.org/RPM-LIVNA-GPG-KEY
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:12 PM.

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