我们正在尝试使用yum在Scientific Linux版本6.2上安装Oracle11g,我们收到错误
这是命令:
yum install oracle-rdbms-server-11gR2-preinstall
这是输出错误:
warning: rpmts_HdrFromFdno: 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] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
答案 0 :(得分:6)
wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
运行以上命令。我刚刚做了同样的事。
[编辑] 或者转到http://public-yum.oracle.com/链接向下滚动以获得与您的操作系统兼容的链接。
答案 1 :(得分:2)
试试这个
wget --no-check-certificate https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O / etc / pki / rpm-gpg / RPM-GPG-KEY-oracle
答案 2 :(得分:0)
检查以下是否安装包
1)rpm -q epel-release
未安装包epel-release
然后安装
2)yum install package epel-release *
> 3) wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle --no-check-certificate
4)wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle --no-check-certificate