Nov 8, 2018

How to fix Oracle GPG Key problem for YUM

If you encounter Oracle GPG Key problem for YUM, you need to download and import Oracle's GPG Key

for el5:
$ wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5

for el6/ol6:
$ wget https://oss.oracle.com/ol6/RPM-GPG-KEY-oracle

then
# rpm --import ./RPM-GPG-KEY-oracle-el5