红联Linux门户
Linux帮助

gpg--pubkey输入失败,求解救!

发布时间:2013-11-18 12:28:36来源:红联作者:hanhao13
请各位帮帮看下,弄好几天了,面临失业的危险。

安装所有的rpm包时报错,用yum本地源也不行,私网服务器,没公网:
[root@RedHat6 BOCO]# rpm -ivh java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64.rpm
error: java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: BAD
error: java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64.rpm cannot be installed

网上查了说说gpg key版本过低,根据网上的方法,还是报错。

[root@RedHat6 BOCO]# rpm --import /etc/pki/rpm-gpg/RPM*
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta: key 2 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-former: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-rhx: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release: key 2 import failed.

真心请帮忙看下,非常感谢!
文章评论

共有 1 条评论

  1. chushihua 于 2014-01-12 20:43:16发表:

    我想好好的学习