• Register
0 votes
137 views

Problem :

I want to update Orion ContextBroker using the command yum install contextBroker. But unfortunately I am getting the following error:

Loaded plugins: fastestmirror, refresh-packagekit, security Loading

mirror speeds from cached hostfile

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

What could be wrong? Any clue?

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I have encountered the same issue in the recent past even though my ca-certificates package is up-to-date. The mirror is currently signed by the DigiCert High Assurance EV Root CA which is also included in my ca-bundle as follows:

$ grep -A 3 "DigiCert High" /etc/ssl/certs/ca-bundle.crt

# DigiCert High Assurance EV Root CA

-----BEGIN CERTIFICATE-----

MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs

MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3

The reason behind my https connections failed was in my case the system date was set to the year 2002 in which the DigiCert High Assurance EV Root CA is not (yet) valid.

$ date

Di 1. Jan 11:10:35 CET 2002

So I just changed the system time and it fixed the issue for me.

If above approach is not working for you then you can try below alternative one:

yum install elfutils-default-yama-scope-0.168-8.el7.noarch --disablerepo=epel
yum install nss-pem -disablerepo=epel
yum reinstall ca-certificates --disablerepo=epel
yum clean all
rm -rf /var/cache/yum
yum update`
38.6k points

Related questions

0 votes
1 answer 7 views
7 views
Problem: Error cannot retrieve metalink for repository epel
asked Jun 30 Hridoy 19.2k points
0 votes
1 answer 12 views
12 views
Problem: Has anyone else had a similar experience: Cannot retrieve metalink for repository: epel/x86_64. please verify its path and try again?
asked Jun 12 akhi 125k points
0 votes
1 answer 10 views
10 views
Problem: I am trying to setup up a ssh bastion server, but I have problem setting up EPEL in order to install Python3.6. I am using CentOS Linux release 7.4.1708 (Core) So I am trying to install EPEL first by using sudo yum -y install epel-release (I did of ... metalink in repo files and other way too, etc..., but nothing helps :( Can someone let me know, please, what is causing this error?
asked Apr 26 sumaiya simi 43.9k points
0 votes
1 answer 23 views
23 views
Problem: Following error occurred when I'm trying to update using "yum" command. There's no any Internet connection issue. I just tried to get access to get solution from Error message given Red-Hat Article. but that Red-Hat knowledge-base support for ... Error: Cannot retrieve repository metadata (repomd.xml) for repository: chromium. Please verify its path and try again [cloudera@quickstart /]$
asked May 3 jamuna1 30.2k points
1 vote
1 answer 20 views
20 views
Problem: I am getting this error when I try to update yum: Error: Cannot retrieve repository metadata (repomd.xml) for repository: boxgrinder-noarch. Please verify its path and try againHow can I solve this ? I am using Fedora 15.
asked May 2 Raj Tyagi 16k points
0 votes
1 answer 17 views
17 views
Problem: Can’t notice any problem, help : Repomd.xml does not match metalink for epel
asked May 30 Chi Omega 168k points
0 votes
1 answer 6 views
6 views
Problem: Support is needed : Cannot retrieve metalink for repository: epel .
asked May 27 Diederich Raf 120k points
0 votes
1 answer 16 views
16 views
Problem: Could someone please assist me? : Cannot retrieve metalink for repository epel/x86_64 .
asked May 20 Isac Christiaan 103k points
0 votes
1 answer 5 views
5 views
Problem: Error cannot retrieve repository metadata repomd xml for repository.
asked Jul 3 Shima 126k points
1 vote
1 answer 7 views
7 views
Problem: I keep getting this error : Error: Cannot retrieve repository metadata (repomd.xml) for repository: boxgrinder-noarch. Please verify its path and try againI’m using Fedora 15 and whenever I run yum update I get this error . How can I solve this ?
asked Apr 26 Raj Tyagi 16k points