[Spacewalk-list] Adding GPG keys to the channel

Daryl Rose darylrose at outlook.com
Tue Apr 18 18:11:40 UTC 2017


I've never added in the GPG keys to the channel when I created the channel, but now I'm trying to do so.


I'm setting up a new channel to work with the MySQL commercial version.  Installation fails because the public key for mysql-commercial-server is not installed.


I added RPM-GPG-KEY-mysql to /etc/pki/rpm-gpg and entered into the GPG key URL this path: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

I'm not a gpg knowledgeable person, but a quick google search gave me the commands (I think) to get the GPG key ID and GPG key Fingerprint.


gpg --quiet --with-fingerprint RPM-GPG-KEY-mysql

pub  1024D/5072E1F5 2003-02-03 MySQL Release Engineering <mysql-build at oss.oracle.com>

      Key fingerprint = A4A9 4068 76FC BD3C 4567  70C8 8C71 8D3B 5072 E1F5

uid                            MySQL Package signing key (www.mysql.com) <build at mysql.com>

sub  2048g/6D9876B8 2003-02-03 [expires: 2013-09-18]

I believe that 5072E1F5 is the key ID and I know that fingerprint is A4A9 4068 76FC BD3C 4567  70C8 8C71 8D3B 5072 E1F5.

[cid:a20eb142-247b-4846-889d-4d296b504459]

However, when I try to install mysql-commercial-server.x86_64, I get the following:


Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql


GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql"

Any thoughts on what could be wrong?  I think that my entries should work.

Thank you.

Daryl




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170418/3f909e1b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4-18-2017 11-11-20 AM.jpg
Type: image/jpeg
Size: 28877 bytes
Desc: 4-18-2017 11-11-20 AM.jpg
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170418/3f909e1b/attachment.jpg>


More information about the Spacewalk-list mailing list