资讯详情

centos7 yum 安装json报错

正常安装命令:

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

标签: 13d1压式传感器

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

锐单商城 - 一站式电子元器件采购平台