【发布时间】: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导入密钥没有任何错误。