Public Key Not Installed

7,033 views
Skip to first unread message

Sharan

unread,
Aug 24, 2011, 2:55:34 AM8/24/11
to vg...@googlegroups.com
Hi,

For Some reason yum is having problems the past day. Every time i try to install something with yum i keepl getting an error like :

Transaction Summary:::

[root@server Desktop]# yum install openldap-servers openldap-clients
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openldap-clients.x86_64 0:2.4.19-15.el6 set to be updated
---> Package openldap-servers.x86_64 0:2.4.19-15.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch          Version              Repository     Size
================================================================================
Installing:
 openldap-clients        x86_64        2.4.19-15.el6        server        156 k
 openldap-servers        x86_64        2.4.19-15.el6        server        2.6 M

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total size: 2.8 M
Installed size: 6.7 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY


Public key for openldap-servers-2.4.19-15.el6.x86_64.rpm is not installed




--
Regards,
Saravanan.R

Tejas Barot

unread,
Aug 24, 2011, 9:00:40 AM8/24/11
to vg...@googlegroups.com
Hi,

Use yum with --nogpgcheck option try following command:-

#yum install <package-name> --nogpgcheck

Hope this helps.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"I am Very much concern about Security & Stability,
That's the reason I am not using Insecure & Unstable WindowZ,
Feel Secure, Be Stable, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Sharan <rajas...@gmail.com>
Date: Wed, 24 Aug 2011 02:55:34 -0400
Subject: [VGLUG] Public Key Not Installed
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Vishal Joshi

unread,
Aug 25, 2011, 12:51:08 AM8/25/11
to vg...@googlegroups.com

Hi,

The option suggested by Tejas Sir is the perfect one.

Alternatively if you want to install public key you can also use the following command :

(1) Insert RHEL cd/dvd and move to that location.

For eg: cd /media/RHEL<version>

(2) Execute the command " rpm --import *GPG* RPM-GPG-KEY-redhat-release " and " rpm --import *GPG* RPM-GPG-KEY-redhat-beta "...

This will import the public keys for the yum installation.

Hope this command solves your problem.


Best regards,
Vishal Girish Joshi

P.K.Thakur

unread,
Aug 25, 2011, 1:16:40 AM8/25/11
to vg...@googlegroups.com
Hi Sharan,

You can try the below command and then try installing the packages using yum again.

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-*

This should work.

--
Praveen Thakur


Tejas Barot

unread,
Aug 25, 2011, 8:11:26 AM8/25/11
to vg...@googlegroups.com
Hello,

If you don't have keys to import and if you want to permanently disable this gpgcheck then change from "gpgcheck = 1" to "gpgcheck = 0" into /etc/yum.conf


Hope this helps.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"I am Very much concern about Security & Stability,
That's the reason I am not using Insecure & Unstable WindowZ,
Feel Secure, Be Stable, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Sharan <rajas...@gmail.com>
Date: Wed, 24 Aug 2011 02:55:34 -0400
Subject: [VGLUG] Public Key Not Installed

Reply all
Reply to author
Forward
0 new messages