赞
踩
正常安装命令:
yum install jsoncpp-devel libuuid-devel curl-devel
报错信息:
- warning: /var/cache/yum/x86_64/7/okay/packages/jsoncpp-1.6.5-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 13d0a55d: NOKEY
- Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY
-
-
- The GPG keys listed for the "Extra OKay Packages for Enterprise Linux - x86_64" repository are already installed but they are not correct for this package.
- Check that the correct key URLs are configured for this repository.
-
-
- Failing package is: jsoncpp-1.6.5-1.el7.centos.x86_64
- GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY
解决方案:(后面加上 --nogpgcheck来强制安装)
yum install jsoncpp-devel libuuid-devel curl-devel --nogpgcheck
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。