LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2006, 12:34 PM   #1
maokc
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core 3
Posts: 30

Rep: Reputation: 15
How do I use yum with gpg?


I am in file dependency hell. I'm trying to install xine, which worked on my old system, but when I try from a tarball or an RPM using rpm -i, some of those needed files I can't find anywhere. I looked for them in sourceforge, all the RPM sites, and a straight googe search. I've heard that yum might solve file dependencies, but when I run yum install,
it says I need a gpg key. So I got it. The executable is in /usr/bin/gpg, so it should work, but I don't know how to use it. Yes, I read the man pages, but that didn't help. When I type just "gpg" it says "go ahead and type your message", but it won't do anything with any install commands. What am I doing wrong?
 
Old 11-11-2006, 12:53 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You need to import the GPG key from the repo you are trying to use, e.g.

rpm --import http://mirrors.kernel.org/fedora/cor...GPG-KEY-fedora

This is for FC6 -- you can find a key for anything else by looking around -- the key for FC3 is the same URL as above with the 6 replaced by a 3. Newer Yum versions offer to import the key for you automatically but IIRC the one in FC3 does not so you have to do it by hand with the rpm --import command.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GPG key for yum boy3dfx2 Linux - Newbie 2 06-05-2006 01:07 PM
yum public gpg key?? Niflheim Fedora 1 03-28-2005 01:46 PM
yum gpg keys? Infernal211283 Linux - Newbie 3 02-14-2005 12:23 AM
need help configuring yum with gpg keys dcdbutler Linux - Newbie 0 02-01-2005 06:54 PM
yum GPG problem bikov_k Linux - General 1 01-08-2005 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:37 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