LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-28-2006, 01:03 PM   #1
scorpioofthewoods
Member
 
Registered: Mar 2006
Location: USA
Distribution: Fedora & Ubuntu
Posts: 215
Blog Entries: 2

Rep: Reputation: 20
Public Key Not Installed


For some reason yum is having problems the past day. Every time I try to install something with yum I keep getting an error like:

Transaction Summary
=============================================================================
Install 8 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.1 M
Downloading Packages:
(1/8): lame-3.96.1-5.fc5. 100% |=========================| 399 kB 01:17
(2/8): libid3tag-0.15.1b- 100% |=========================| 43 kB 00:07
(3/8): amrnb-0.0.1-2.fc5. 100% |=========================| 133 kB 00:24
(4/8): libdvdread-0.9.5-2 100% |=========================| 65 kB 00:15
(5/8): a52dec-0.7.4-8.fc5 100% |=========================| 51 kB 00:09
(6/8): libsidplay-1.36.59 100% |=========================| 71 kB 00:13
(7/8): mpeg2dec-0.4.0-8b. 100% |=========================| 100 kB 00:17
(8/8): gstreamer-plugins- 100% |=========================| 216 kB 00:37
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1aa78495


Public key for libid3tag-0.15.1b-3.fc5.rf.i386.rpm is not installed

Edit: I meant to add that if I try to get a key I get this:

[root@localhost ~]# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
warning: cannot get exclusive lock on /var/lib/rpm/Packages

Last edited by scorpioofthewoods; 07-28-2006 at 02:06 PM.
 
Old 07-28-2006, 10:40 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
You have an unfinished rpm update hanging out there, perhaps?

Code:
ps -ef | egrep 'rpm|yum' | grep -v 'grep'
 
Old 07-30-2006, 11:22 AM   #3
scorpioofthewoods
Member
 
Registered: Mar 2006
Location: USA
Distribution: Fedora & Ubuntu
Posts: 215
Blog Entries: 2

Original Poster
Rep: Reputation: 20
Well that seems to have worked. I am not getting the no key error when yum tries to install things now. Thank you very much!
 
Old 06-06-2007, 11:48 AM   #4
HowitZer
LQ Newbie
 
Registered: Mar 2007
Distribution: Fedora Core 6, Fedora Core 4
Posts: 22

Rep: Reputation: 0
Arrow getting public keys

I'm trying to install linneighborhood and when I do a yum install I get this message:

Public key for linneighborhood-0.6.5-3.2.fc6.rf.x86_64.rpm is not installed

How do I get a public key for this?
 
Old 01-28-2008, 01:29 PM   #5
pweltz
LQ Newbie
 
Registered: Jun 2007
Location: montreal, qc, canada
Distribution: Ubuntu, Suse (SLES), RedHat (RHEL), knoppix
Posts: 4

Rep: Reputation: 0
solution

In case someone hit this thread like I did:

The provider of your .rpm signed it with its private key to proove it is a genuine file from them.
We can verify it with the public key (but not sign, see wikipedia RSA PKI about public/private keys FYI)

Practically that means you need to find the public key and import it
in my case it was a file named: RPM-GPG-KEY ( from Red HAt distro)

suggestion: find / -name "*GPG*"

then import the public key with: rpm --import *GPG*
and it should be ok.


In my case:
Public key for openoffice.org-libs-1.1.5-10.6.0.2.EL4.i386.rpm is not installed
[root@taz isoCDs]# rpm --import /mounted_RHEL4.6-i386-ES-disc4/RPM-GPG-KEY
[root@taz isoCDs]# yum install openoffice.org.i386
...



Cheers,
Philippe
 
Old 10-04-2008, 03:39 PM   #6
intermod
LQ Newbie
 
Registered: Oct 2003
Location: Pleasanton, CA USA
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by anomie View Post
You have an unfinished rpm update hanging out there, perhaps?

Code:
ps -ef | egrep 'rpm|yum' | grep -v 'grep'
When I tried this I got:

root 2663 1 0 Aug12 ? 04:26:58 /usr/bin/python /usr/sbin/yum-updatesd

Tried yum update python and got:

....
Could not find update match for python
No Packages marked for Update/Obsoletion

Instead of originally installing the regular rpm package, I then installed the source RPM package according to:

http://wiki.inisec.com/index.php/Iperf

and the application installed and ran great. I am really appreciating the ease of Debian/Ubuntu updates....I am giving up on redhat/centos and the RPM stuff soon.

intermod
 
Old 10-24-2008, 08:22 AM   #7
MacTommy
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Thanks a million pweltz.
I hit this thread and I was completely stuck. Your contribution really helped!
 
Old 02-24-2009, 10:58 AM   #8
rogerdpack
LQ Newbie
 
Registered: Feb 2009
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by pweltz View Post

In my case:
Public key for openoffice.org-libs-1.1.5-10.6.0.2.EL4.i386.rpm is not installed
[root@taz isoCDs]# rpm --import /mounted_RHEL4.6-i386-ES-disc4/RPM-GPG-KEY
[root@taz isoCDs]# yum install openoffice.org.i386
In my case one of these keys worked:
sh-3.2# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
sh-3.2# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-auxiliary
sh-3.2# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
 
Old 01-29-2010, 08:10 PM   #9
gstav
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
There are oter option to install RPMforge

If you dont have installed the GPG Key, you will go to "Dag RPM Repository FAQ page" (dag.wieers.com/rpm/FAQ.php#B2) and see the section "How to configure to use RPMforge" you can use rpm command into list of the GPG keys by Linux distribution.
 
Old 01-27-2012, 04:34 PM   #10
crackmac
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
You can sometimes add the --nogpgcheck flag and skip the key verification.

Code:
yum install --nogpgcheck yum-downloadonly
 
Old 03-07-2013, 02:03 PM   #11
aman078
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
you can disable the check by editing /etc/yum.repos.d/your_file.d and writting gpgcheck=0
 
  


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: public key not available Merlinou Linux - Newbie 2 04-06-2006 01:27 PM
public key not available? buwaleed Debian 4 01-04-2006 04:52 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM
PGP public key? mikeshn General 3 05-01-2002 11:12 PM


All times are GMT -5. The time now is 05:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration