Hi,
OS : RHEL 7,5 64-bit
Preinstall RPM : OEL 7
I got this error while installing Pre-install RPM . I have shared the steps in this post to fix the same. This fix worked perfectly for me and i never publish a fix unless i tested it.
GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle"
solution:
[root@ranesh yum.repos.d]# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
--2020-04-22 18:34:11-- http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7
Resolving public-yum.oracle.com (public-yum.oracle.com)... 104.88.152.222
Connecting to public-yum.oracle.com (public-yum.oracle.com)|104.88.152.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1011 [text/plain]
Saving to: ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-oracle’
100%[======================================>] 1,011 --.-K/s in 0s
2020-04-22 18:34:13 (67.5 MB/s) - ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-oracle’ saved [1011/1011]
OS : RHEL 7,5 64-bit
Preinstall RPM : OEL 7
I got this error while installing Pre-install RPM . I have shared the steps in this post to fix the same. This fix worked perfectly for me and i never publish a fix unless i tested it.
GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle"
solution:
[root@ranesh yum.repos.d]# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
--2020-04-22 18:34:11-- http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7
Resolving public-yum.oracle.com (public-yum.oracle.com)... 104.88.152.222
Connecting to public-yum.oracle.com (public-yum.oracle.com)|104.88.152.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1011 [text/plain]
Saving to: ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-oracle’
100%[======================================>] 1,011 --.-K/s in 0s
2020-04-22 18:34:13 (67.5 MB/s) - ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-oracle’ saved [1011/1011]
No comments:
Post a Comment