LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2006, 03:29 AM   #1
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Rep: Reputation: 30
FC6 and Yum


hi,

I've updated my FC5 to 6 yesterday.
But when I try yum, it always gives me a 'no public key' error...

like this:

Code:
# yum install mplayer
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mplayer.i386 0:1.0-0.33.rc1.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: libaudio.so.2 for package: mplayer
--> Processing Dependency: libfaac.so.0 for package: mplayer
--> Processing Dependency: libmpcdec.so.3 for package: mplayer
--> Processing Dependency: libaa.so.1 for package: mplayer
--> Processing Dependency: mplayer-fonts for package: mplayer
--> Processing Dependency: libXvMCW.so.1 for package: mplayer
--> Processing Dependency: libxvidcore.so.4 for package: mplayer
--> Processing Dependency: libgif.so.4 for package: mplayer
--> Processing Dependency: liblirc_client.so.0 for package: mplayer
--> Processing Dependency: libXvMC.so.1 for package: mplayer
--> Processing Dependency: libungif.so.4 for package: mplayer
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package giflib.i386 0:4.1.3-7.1 set to be updated
---> Package libmpcdec.i386 0:1.2.2-4.fc6 set to be updated
---> Package xvidcore.i386 0:1.1.2-1.fc6 set to be updated
---> Package nas.i386 0:1.8-10.fc6 set to be updated
---> Package lirc.i386 0:0.8.1-0.2.pre2.fc6 set to be updated
---> Package mplayer-fonts.noarch 0:1.1-3.2.el4.rf set to be updated
---> Package faac.i386 0:1.24-3.fc6 set to be updated
---> Package libXvMC.i386 0:1.0.2-2.1 set to be updated
---> Package aalib.i386 0:1.4.0-5.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libmp4v2.so.0 for package: faac
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package faad2.i386 0:2.0-8.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 mplayer                 i386       1.0-0.33.rc1.fc6  freshrpms         4.6 M
Installing for dependencies:
 aalib                   i386       1.4.0-5.el4.rf   dries              95 k
 faac                    i386       1.24-3.fc6       freshrpms          79 k
 faad2                   i386       2.0-8.fc6        freshrpms         401 k
 giflib                  i386       4.1.3-7.1        core               39 k
 libXvMC                 i386       1.0.2-2.1        core               18 k
 libmpcdec               i386       1.2.2-4.fc6      extras             30 k
 lirc                    i386       0.8.1-0.2.pre2.fc6  extras            238 k
 mplayer-fonts           noarch     1.1-3.2.el4.rf   dries             1.0 M
 nas                     i386       1.8-10.fc6       extras            580 k
 xvidcore                i386       1.1.2-1.fc6      freshrpms         245 k

Transaction Summary
=============================================================================
Install     11 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2


Public key for giflib-4.1.3-7.1.i386.rpm is not installed
#
howto solve?
 
Old 12-09-2006, 03:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
standard RPM keys come from the fedora-release RPM, and should live in /etc/pki/rpm-gpg/ do you have any there? does seem odd to be getting that kind of error with the core repo. certainly try reinstalling the fedora-release rpm directly from the cd too.
 
Old 12-09-2006, 04:40 AM   #3
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Original Poster
Rep: Reputation: 30
Code:
$ ls /etc/pki/rpm-gpg/
RPM-GPG-KEY         RPM-GPG-KEY-fedora-extras   RPM-GPG-KEY-fedora-test
RPM-GPG-KEY-beta    RPM-GPG-KEY-fedora-legacy   RPM-GPG-KEY-rawhide
RPM-GPG-KEY-fedora  RPM-GPG-KEY-fedora-rawhide
also, note that I have more then just the standard repos

Code:
$ ls /etc/yum.repos.d/
dries.repo                      fedora-legacy.repo
fedora-core.repo                fedora-updates.repo
fedora-development.repo         fedora-updates-testing.repo
fedora-extras-development.repo  freshrpms.repo
fedora-extras.repo

Last edited by vegetassj2; 12-09-2006 at 04:42 AM.
 
Old 12-09-2006, 07:08 AM   #4
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
A simple workaround is
>yum -y install yum-utils
>yumdownloader giflib-4.1.3-7.1.i386.rpm
>rpm -ivh --nosignature giflib-4.1.3-7.1.i386.rpm
>yum -y install mplayer

Edit: The RPM-GPG-KEY for dries & freshrpms doesn't seem to be installed

Last edited by sn68; 12-09-2006 at 07:10 AM.
 
Old 12-09-2006, 07:18 AM   #5
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Try this to import the keys:
Code:
rpm --import /etc/pki/rpm-gpg/*
You can also add the livna and freshrpms repost + keys using this:
Code:
rpm -Uvh http://rpm.livna.org/livna-release-6.rpm
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm -Uhv http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/6/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
rpm --import http://freshrpms.net/RPM-GPG-KEY-freshrpms
Boby
 
Old 12-09-2006, 07:53 AM   #6
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Original Poster
Rep: Reputation: 30
I don't use GPG Keys... (I put a # in front of the lines)

Code:
# yumdownloader giflib-4.1.3-7.1.i386.rpm
Loading "installonlyn" plugin
Loading "installonlyn" plugin
Repository development is listed more than once in the configuration
Repository development is listed more than once in the configuration
Repository dries is listed more than once in the configuration
Repository dries is listed more than once in the configuration
Repository core is listed more than once in the configuration
Repository core is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository extras-development is listed more than once in the configuration
Repository extras-development is listed more than once in the configuration
Repository legacy-updates is listed more than once in the configuration
Repository legacy-updates is listed more than once in the configuration
Repository core-source is listed more than once in the configuration
Repository core-source is listed more than once in the configuration
Repository updates-testing-source is listed more than once in the configuration
Repository updates-testing-source is listed more than once in the configuration
Repository extras-development-debuginfo is listed more than once in the configuration
Repository extras-development-debuginfo is listed more than once in the configuration
Repository development-source is listed more than once in the configuration
Repository development-source is listed more than once in the configuration
Repository extras-development-source is listed more than once in the configuration
Repository extras-development-source is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository updates-testing-debuginfo is listed more than once in the configuration
Repository updates-testing-debuginfo is listed more than once in the configuration
Repository extras-debuginfo is listed more than once in the configuration
Repository extras-debuginfo is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository legacy-testing is listed more than once in the configuration
Repository legacy-testing is listed more than once in the configuration
Repository freshrpms is listed more than once in the configuration
Repository freshrpms is listed more than once in the configuration
Repository development-debuginfo is listed more than once in the configuration
Repository development-debuginfo is listed more than once in the configuration
Repository updates-testing is listed more than once in the configuration
Repository updates-testing is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository core-debuginfo is listed more than once in the configuration
Repository core-debuginfo is listed more than once in the configuration
No Match for argument giflib-4.1.3-7.1.i386.rpm
No Match for argument giflib-4.1.3-7.1.i386.rpm
#
Wasn't livna a 'bad' repo? I thought I read on a site with installation notes that you had to chose this:
livna or dries, dag and freshrmps

correct?

@ Boby
doesn't work after your commands either
 
  


Reply


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 and FC6 problem fluk3d Fedora 4 12-24-2006 01:02 PM
fc6 reinstall yum from dvd joncampbell60 Linux - Software 3 11-28-2006 12:56 AM
fc6 yum install error multiple repository entries joncampbell60 Linux - Software 7 11-28-2006 12:51 AM
howto upgread fc5 -> fc6 via yum true_atlantis Fedora - Installation 1 11-08-2006 08:11 PM
yum can't install some groups in 64-bit FC6 markelo Fedora 5 11-07-2006 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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