Loading...

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

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

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

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

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

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

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

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 了。。。

posted @ 2021-03-04 12:08  高宏宇  阅读(5145)  评论(0编辑  收藏  举报