LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Warning: NOKEY (GPG key) - what to do about it?? (https://www.linuxquestions.org/questions/linux-newbie-8/warning-nokey-gpg-key-what-to-do-about-it-4175478905/)

needsleep 09-28-2013 03:47 PM

Warning: NOKEY (GPG key) - what to do about it??
 
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
Userid : EPEL (6) <epel@fedoraproject.org>
Package: epel-release-6-8.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]:

What is this warning telling me?
I see the key ID, 0608b895 is very similar to the Import of GPG key 0x0608B895 (0x prepended and 'b' changed to 'B')

What should I be looking for and what actions should I take?

Only because it is getting the package from EPEL, do I trust it, but is there a better way for me to proceed? Certainly a better way in general?

Thanks.

needsleep 09-28-2013 05:40 PM

Answering my own post!
(from http://fedoraproject.org/wiki/EPEL/F..._repository.3F )

How do I know that a package is a EPEL package?

All EPEL packages are signed with the EPEL gpg-key. The public key with id 217521F6 is part of the epel-release package for epel 5; The public key with id 0608B895 is part of the epel-release package for epel 6; yum will ask you to import it the first time you install a EPEL package. See also: https://fedoraproject.org/keys


---
Something I failed to mention in my problem description was that I was installing my first EPEL package (WINE) on CentOS 6.4. The fact that it is CentOS 6.4 is irrelevant, and only included for passing interest. The fact that it was the first time I tried to install an EPEL package is extremely relevant to the error encountered.

Literally, I installed CentOS 6.4 and the first thing I did was add the EPEL repository to yum, followed by "yum install wine". This took me HOURS to accomplish, because I had to learn about packages, then repositories, and finally yum.

To add the EPEL repository to CentOS 6.4,
sudo rpm -Uvh http://mirrors.kernel.org/fedora-epe...6-8.noarch.rpm
if you are running 64-bit version of CentOS 6.x.
The same tree will bifurcate after [/6/] into a path for x386 as well to the same named rpm.
One site said it didn't matter what architecture your machine was (32 or 64 bit), you could use either rpm, but then why would they create two separate filesystems for each architecture? Didn't make any sense to me, so I opted to go with a more conservative approach that honored the filesystem difference.


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