Re: Invalid GPG Key from http://yum.opennms.org/OPENNMS-GPG-KEY: first PGP packet sould be a puliic-key packet, not signature packet

Jeremy McSpadden <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
There is a bug in the way yum handles PGP keys that cause OpenNMS
installation through yum to fail on Fedora 15 and RHEL6 (and it's
derivatives).  The key we've been using to sign our RPMs contained
multiple old self-signatures, which were created as part of extending
the expiration of our PGP keys over the years.  The key has now been
updated to clean out the old expired signatures, but if yum has already
imported the older version of the key, you will continue to see this error:

 Invalid GPG Key from<http://yum.opennms.org/OPENNMS-GPG-KEY:>http://yum.opennms.org/OPENNMS-GPG-KEY:
 first PGP packet should be a public-key packet, not signature packet

To fix it, you will need to re-import the key.  To do so, run:

 rpm --import<http://yum.opennms.org/OPENNMS-GPG-KEY>http://yum.opennms.org/OPENNMS-GPG-KEY

...and yum will work as expected when installing OpenNMS packages.

--
Jeremy McSpadden
Flux Labs, Inc
http://www.fluxlabs.net
Endless Solutions
Office : 850-588-4626
Cell : 850-890-2543
Fax : 850-254-2955


On Sep 19, 2011, at 1:17 PM, "Fan Jiao" <[email protected]<mailto:[email protected]>> wrote:

Hello,

I was installing iplike, and got:

Warning – rpmts_HdrFromFdno: Header V3 DSA/ShA1 Signature, key ID 4c4cbbd9: NOKEY
opennms-stable-rhel6/gpgkey

Invalid GPG Key from <http://yum.opennms.org/OPENNMS-GPG-KEY:> http://yum.opennms.org/OPENNMS-GPG-KEY: first PGP packet sould be a puliic-key packet, not signature packet

How do I fix this?

Thanks.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.