RPM-GPG-KEY Error While Installing Oracle Database 11gr2 on CENTOS 7

0

I am Trying to install Oracle Database 11gr2 in CENTOS 7.For installation process I am following this procedure https://oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-7

After downloading and unzipping both the package from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.html I am running below command to start installing.

yum install oracle-rdbms-server-11gR2-preinstall

after processing for few moment I am getting below error.

warning: /var/cache/yum/x86_64/7/ol7_UEKR3/packages/kernel-uek-firmware-3.8.13-118.6.1.el7uek.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

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

How can I resolve above error and proceed to next step of installation?

Shyam Bhimani

Posted 2016-05-18T22:11:35.847

Reputation: 101

Answers

-2

Install the Oracle prerequisite packages using the command: "yum install --nogpgcheck ..." and then disable the public-yum-ol7.repo repository

Rodrigo Leite Fuentes

Posted 2016-05-18T22:11:35.847

Reputation: 1

1Wouldn't that disable updates from what looks like a common/primary repo (with nothing to do with oracle from what I can tell), and wouldn't it be better to actually make sure the keys are actually installed? – Journeyman Geek – 2017-02-20T12:21:33.833