当前位置:   article > 正文

centos7 yum 安装json报错_the gpg keys listed for the "extra okay packages f

the gpg keys listed for the "extra okay packages for enterprise linux - x86_

正常安装命令:

yum install jsoncpp-devel libuuid-devel curl-devel

报错信息:

  1. 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
  2. Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY
  3. 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.
  4. Check that the correct key URLs are configured for this repository.
  5. Failing package is: jsoncpp-1.6.5-1.el7.centos.x86_64
  6. GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY

解决方案:(后面加上 --nogpgcheck来强制安装)

yum install jsoncpp-devel libuuid-devel curl-devel --nogpgcheck

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/326739
推荐阅读
相关标签
  

闽ICP备14008679号