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 05-25-2005, 03:36 AM   #1
LQ Newbie
Registered: Apr 2005
Distribution: fedora core 3
Posts: 19

Rep: Reputation: 0
Question yum

ok im trying to install mplayer thats wher this all began, when i try to install mplayer it says
[root@localhost ~]# rpm -i mplayer-1.0-0.16.pre7.1.fc3.i386.rpm
warning: mplayer-1.0-0.16.pre7.1.fc3.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies: is needed by mplayer-1.0-0.16.pre7.1.fc3.i386
ok thats great but when i search for this is what i get
[root@localhost ~]# whereis /usr/lib/ /usr/lib/
ok so that stumped me so i read about updating yum.config so i did and i cant post the contents cause it says i cant post url's or something to that effect but anyway, so i used yum to install mplayer and it says
[root@localhost ~]# yum install mplayer
Repository base already added, not adding again

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.

so i ran the command and this is what it says
[root@localhost ~]# rpm --import public.gpg.key
error: public.gpg.key: import read failed.

what should i do now?
Old 05-25-2005, 11:31 AM   #2
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Rep: Reputation: 30
You need to know where the GPG key is.

For example if you have a repository for LIVNA you would issue the following:

And that will import the public GPG key for LIVNA so that you may use that repository.

The repositories I use are LIVNA and Freshrpms.

To get setup for Freshrpms just go here: and install this rpm:

And Freshrpms will be setup.

To setup LIVNA do the above to get the GPG then do the following(as root):
cd /etc/yum.repos.d
vi livna.repo
In that text file type the following:
[livna-stable] Fedora Compatible Packages (stable)

[livna-unstable] Fedora Compatible Packages (unstable)

[livna-testing] Fedora Compatible Packages (testing)
Finally you should import the local GPG key Fedora gives out so you can use their repositories. Issue this command:

rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
That's should do it! Have fun!


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
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM
Fast Yum Mirror Settings For Yum ( RH9 ) fortezza Red Hat 1 06-11-2004 04:24 PM > Forums > Linux Forums > Linux - Newbie

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