换源后提示密钥不使用于此软件包,如何解决
addis110120 2月前 749

红旗7.6源换成这个后,http://yum.chinaredflag.cn/ax7sp6/x86_64/base/



源 "Redflag x86_64 Linux 7 - Base" 的 GPG 密钥已安装,但是不适用于此软件包。请检查源的公钥 URL 是否配置正确 ,你好,很多依赖下载就提示这个,


这个怎么解决?



最新回复 (1)
  • 0 2
    您好,麻烦请您提供一下repo配置文件的详细信息。
    2月前 收起回复
    addis110120 : -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2.0.22 (GNU/Linux) mQENBFW7FEwBCACkYw7iIce78PrdlRxfSfA+OFlgqs50u9JsSh9n29IKZuFI8jVA 7hkkiCNWhzltjFUgYWKKRMLnFCBz0cn49CmJJfB552cYpUlIWfNg8mWylZIr6odQ 2o7RwPP8OIj0IqPD2Wx8XIbI13xy2AITNpvFhQ/yPxafI/XFwCJVTjsIYHDtB6jd 7O2bZEWajY8bdeEUbXnW/8RKc4uaM6lvb1CE3QySIVJ7TXNL8uPZwRjaqU9UCYmW Bs+S67yT2taJ4bDHZv7LD0UwdqwsBKjieTOd+H02BzPDKyqjJs8OV5ZdFrspKVI3 nJLSJUx8a7AjE357bXXSpSdXTSDHimGddjzVABEBAAG0LnN1bmJpbmcgKHNpZ24g cnBtKSA8c3VuYmluZ0ByZWRmbGFnLWxpbnV4LmNvbT6JATkEEwECACMFAlW7FEwC GwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRAVI29H2SoGcgxxB/9z8hEB tTrS52inITKR3iaFdjIGPBDPMrJynGqAQZC39AdjyQELXNDipWDVsIjcmVVRA+Hb TBrI12XVhcgQ6x/aDghwjiT7cxcgTbPI1v8mH+p/R5kQWQm24aOj5bHh7zDZIWlv k5WSkXMJqj5+7jCJqSOAcrpQuONfCC7Z+r47U4EjsbcBoufKLGIa2kXJIb1qujvn jZu6T7NdRF2KwzNG9bm6DCd1WmMYuOwQgIqXVF+t7gdEuixujjuuHEgpXhiUtB7V 3OuhGomPjsCvljLZgDNWoJ/dj8HkiQwcu5SEJDY0o3B2KkGop/qmZ4pVoD4gbgWf oFxPyRpQwsI3pod8uQENBFW7FEwBCADakld/mGJhxc3y72Y51/HEDQeW3InqSbge kOJpW+2Dy+xTADTZPqN2nCk183ymNn7KRyMKtPXUYkd5XYaFjHYdSpNfJbU+ok3q XMpLA8yhwtnche2zdy+O780G+7yEkHIk75kfBKD3bnUAaiZJss566t8oTxPXr9+q MplA8W2cUQ9rt5SZgnU82xjvgAVU5OebFnFuOm9XZ5bmokCgHfSqKdwisuNefUC4 fC6iSTAJI6BshL7F2gSDiUwzY6oWtJH/nvS3hDZQrIBgr+j9/K+f3oFxg+tMOjUs wbXxcCzTDe1U74hwuXbDbCeMvl6IaMd6fKA7hKgnBxJjMBFr1pPLABEBAAGJAR8E GAECAAkFAlW7FEwCGwwACgkQFSNvR9kqBnIwxQf9EJfl2pNbTBImGP/QThPBFUG1 BfgaoEZePWemN5gUa8XboTBnmVonilqG1uiozdpXynr8qX36GQ1X2yfgafUoPw46 v4iLOFcv5NkoregchN9jCGJc/KrbZiVgV51WXROx3wpdPoU2lJZtpgkwFERo2rOZ avjc/fbclW2pR5TgP4iMNuEhGNLCgBlbd5VPUhXCR9mWppNxRd+OX2/ZmNze5UxA h0gRYWgg2+6yOZL8xZodBWiXy0kgqvEkj4s3PMZaD71ifuj75Yl/jGKPXLaME77y jVncVtt8liHkqU4NLNx4L0gcbJO4mrhFdUNG8iwlyMgG57WoZ1TCjoHpPYMMiQ== =0HKI -----END PGP PUBLIC KEY BLOCK-----2月前回复
    addis110120 : 这个就是把GPG 密钥配置为:file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redflag-7-x86_64,这个路径的文件打开的相关信息2月前回复
    addis110120 : [redflag-base] name=Redflag x86_64 Linux 7 - Base baseurl=http://yum.chinaredflag.cn/ax7sp6/x86_64/base/ enabled=1 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redflag-7-x86_64 [redflag-epel] name=Redflag x86_64 Linux 7 - EPEL baseurl=http://yum.chinaredflag.cn/ax7sp6/x86_64/epel/ enabled=1 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redflag-7-x86_64 [redflag-extra] name=Redflag x86_64 Linux 7 - Extra baseurl=http://yum.chinaredflag.cn/ax7sp6/x86_64/extra/ enabled=0 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redflag-7-x86_64 这个是/etc/yum.repos.d/里面的redflag.repo信息2月前回复
    admin : 您好,请根据以下提示操作"修改repo文件中的参数 gpgcheck=0"如有问题,请再次联系。2月前回复
返回