【问题标题】:Centos: Gpg Keys not imported, cannot verify repomd.xml for repoCentos:未导入 Gpg 密钥,无法验证 repo 的 repomd.xml
【发布时间】:2018-05-29 18:21:35
【问题描述】:

我已更新 CentOS 内核并重新启动本地 repo 服务器。之后,当我在客户端运行yum update 时,我得到http://test.local/repos/test-extras/CentOS/7/x86_64/repodata/repomd.xml: [Errno -1] Gpg Keys not imported, cannot verify repomd.xml for repo test-extras

我不熟悉 yum repo 服务器并寻求解决此问题的帮助。任何意见和建议将不胜感激。

【问题讨论】:

  • 听起来您缺少存储库的 gpg 密钥。看看/etc/yum.repos.d/<your repo> looks for the line gpgkey=` 里面,让我们知道它在说什么。密钥是用导入的; gpg --import <key>

标签: centos yum


【解决方案1】:

它缺少 GPG 密钥。添加GPG密钥后,一切正常。

【讨论】:

    猜你喜欢
    • 2019-12-21
    • 2023-02-21
    • 2021-06-11
    • 2022-06-19
    • 1970-01-01
    • 2017-04-28
    • 1970-01-01
    • 2017-08-15
    • 1970-01-01
    相关资源
    最近更新 更多