Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-11-2006, 01:34 PM   #1
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, 01:53 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

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

rpm --import

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.


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 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 02:07 PM
yum public gpg key?? Niflheim Fedora 1 03-28-2005 02:46 PM
yum gpg keys? Infernal211283 Linux - Newbie 3 02-14-2005 01:23 AM
need help configuring yum with gpg keys dcdbutler Linux - Newbie 0 02-01-2005 07:54 PM
yum GPG problem bikov_k Linux - General 1 01-08-2005 09:17 PM > Forums > Linux Forums > Linux - Newbie

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