LinuxQuestions.org
Review your favorite Linux distribution.
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 05-25-2005, 03:36 AM   #1
toolapc22
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:
libxvidcore.so.4 is needed by mplayer-1.0-0.16.pre7.1.fc3.i386
ok thats great but when i search for libxvidcore.so.4 this is what i get
[root@localhost ~]# whereis libxvidcore.so.4
libxvidcore.so: /usr/lib/libxvidcore.so.4 /usr/lib/libxvidcore.so
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
caps_phisto
Member
 
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:
http://ftp.freshrpms.net/pub/freshrp...hrpms-release/Download and install this rpm: freshrpms-release-1-1.fc.fr.noarch.rpm

And Freshrpms will be setup.

To setup LIVNA do the above to get the GPG then do the following(as root):
Code:
cd /etc/yum.repos.d
vi livna.repo
In that text file type the following:
Code:
[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
gpgcheck=1

[livna-unstable]
name=Livna.org Fedora Compatible Packages (unstable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable
gpgcheck=1

[livna-testing]
name=Livna.org Fedora Compatible Packages (testing)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.testing
gpgcheck=1
Finally you should import the local GPG key Fedora gives out so you can use their repositories. Issue this command:

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


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

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

All times are GMT -5. The time now is 11:00 AM.

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