【问题标题】:gpg keys failure prevent yum install of Intel librariesgpg 密钥失败阻止英特尔库的 yum 安装
【发布时间】:2019-10-02 01:25:51
【问题描述】:

为了在 CentOS 上安装 intel-daal-core-2018.1-163,我使用了这两个 repo 文件:

/etc/yum.repos.d/intel-mkl.repo:

[intel-mkl-core-2018.1-163]
name='Intel(R) Intel Math Kernel Library'
baseurl=https://yum.repos.intel.com/mkl
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/mkl/setup/PUBLIC_KEY.PUB
debuglevel=10
enabled=1

/etc/yum.repos.d/intel-daal.repo:

[intel-daal-core-2018.1-163]
name='Intel(R) Data Analytics Acceleration Library'
baseurl=https://yum.repos.intel.com/daal
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/daal/setup/PUBLIC_KEY.PUB
debuglevel=10
enabled=1

但是,从今天早上开始,yum install 命令 (sudo yum install intel-daal-core-2018.1-163) 失败并显示:

failure: repodata/repomd.xml from intel-mkl-core-2018.1-163: [Errno 256] No more mirrors to try.
https://yum.repos.intel.com/mkl/repodata/repomd.xml: [Errno -1] Gpg Keys not imported, cannot verify repomd.xml for repo intel-mkl-core-2018.1-163

但是,如果我停止检查 gpg 密钥,即 - 我将 repo 文件更改为:

[intel-mkl-core-2018.1-163]
name='Intel(R) Intel Math Kernel Library'
baseurl=https://yum.repos.intel.com/mkl
enabled=1
gpgcheck=1
repo_gpgcheck=0
#gpgkey=https://yum.repos.intel.com/mkl/setup/PUBLIC_KEY.PUB
debuglevel=10
enabled=1


[intel-daal-core-2018.1-163]
name='Intel(R) Data Analytics Acceleration Library'
baseurl=https://yum.repos.intel.com/daal
enabled=1
gpgcheck=0
repo_gpgcheck=0
#gpgkey=https://yum.repos.intel.com/daal/setup/PUBLIC_KEY.PUB
debuglevel=10
enabled=1

然后做:

sudo yum clean all ; sudo rm -rf /var/cache/yum

那么sudo yum install intel-daal-core-2018.1-163就成功了。

谷歌搜索没有发现英特尔的任何通知,他们改变了一些东西。
有谁知道gpg密钥yum失败的原因是什么?

【问题讨论】:

  • rpm --import https://yum.repos.intel.com/mkl/setup/PUBLIC_KEY.PUB 会发生什么?
  • intel 修复问题后,@user3788685,rpm --import https://yum.repos.intel.com/mkl/setup/PUBLIC_KEY.PUB 导入密钥没有任何错误。

标签: yum gnupg intel-mkl


【解决方案1】:

问题是英特尔在使用 daal/mkl gpg 密钥时遇到的问题。 现在问题已修复,即如果您运行以下命令,您应该不会有任何错误:

  sudo yum clean all ; sudo rm -rf /var/cache/yum 
  sudo yum install intel-mkl-core-2018.1-163 --downloadonly -y
  sudo yum install intel-daal-core-2018.1-163 --downloadonly -y

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-04-04
    • 2019-10-23
    • 2017-09-16
    • 2022-06-14
    • 1970-01-01
    • 1970-01-01
    • 2015-04-03
    • 1970-01-01
    相关资源
    最近更新 更多