首页 > 其他 > 详细

Fedora 中用 yum 安装软件出现 gpg keys 相关问题

时间:2014-09-17 15:40:12      阅读:347      评论:0      收藏:0      [点我收藏+]

软件开发商在释出 RPM 文件时,会在其中添加数字签名,并释出用于验证数字签名的公钥。使用 rpm 安装软件时,rpm 会首先根据系统中已有的公钥去验证 RPM 文件的数字签名。gpg keys 就是公钥。


问题:Public key for *.rpm is not installed

系统中没有能验证该 RPM 数字签名的公钥

  1. 安装现有的 gpg 公钥,在 /etc/pki/rpm-gpg/ 下,可以

    sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*

    直接把所有的都安装。。。

  2. 还是不行的话,就通过参数指定不检查数字签名

    sudo yum -y install * --nogpgcheck


问题:

The GPG keys listed for the "Fedora 14 - i386" repository are already installed but they are not correct for this package.

Check that the correct key URLs are configured for this repository.


安装 /etc/pki/rpm-gpg/ 下的公钥时全部为 import failed


不知道怎么回事


只能 --nogpgcheck 了。。。

Fedora 中用 yum 安装软件出现 gpg keys 相关问题

原文:http://my.oschina.net/u/1581776/blog/314780

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!