сбой ключей gpg препятствует установке yum библиотек Intel - PullRequest
0 голосов
/ 27 сентября 2019

Чтобы установить intel-daal-core-2018.1-163 в CentOS, я использовал эти два файла репо:

/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, а именно - я изменяю файлы репозитория на:

[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 будет успешным.

Google не нашел никакого уведомления от Intel, что они что-то изменили.
Кто-нибудь знает, чтопричина сбоя yum ключей gpg?

...