I am trying to add the intel products repository to dnf by creating a .repo
file but when I run dnf repolist
I am getting this error:
Failed to synchronize cache for repo 'intel-products', disabling.
My intel-products.repo file in /etc/yum.repos.d
looks like this:
[intel-products]
name=intel-products
baseurl=https://yum.repos.intel.com/setup/intelproducts.repo
enabled=1
gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
What is wrong with this file?
Update 1
As suggested in comments, I tried running dnf repolist --verbose
which shows:
Cannot download 'https://yum.repos.intel.com/setup/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
After changing the baseurl variable to the full path of the url, I get the same:
Cannot download 'https://yum.repos.intel.com/setup/intelproducts.repo': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors w
ere tried
Update 2:
Output of curl https://yum.repos.intel.com/setup/intelproducts.repo
:
[intel-ipp-repo]
name=Intel(R) Integrated Performance Primitives
baseurl=https://yum.repos.intel.com/ipp
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
[intel-mkl-repo]
name=Intel(R) Math Kernel Library
baseurl=https://yum.repos.intel.com/mkl
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
[intel-tbb-repo]
name=Intel(R) Threading Building Blocks
baseurl=https://yum.repos.intel.com/tbb
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
[intel-mpi-repo]
name=Intel(R) MPI Library
baseurl=https://yum.repos.intel.com/mpi
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
dnf repolist -v
? – Ortomala Lokni Jul 2 '18 at 15:17dnf repolist -v
– Black Panther Jul 2 '18 at 15:23curl https://yum.repos.intel.com/setup/intelproducts.repo
? – Ortomala Lokni Jul 2 '18 at 15:47baseurl=https://yum.repos.intel.com/
but I'm still getting the same error. – Black Panther Jul 2 '18 at 16:25