yum error “Cannot retrieve metalink for repository: epel.
I’m trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get the following error:
yum error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” updating ContextBroker
I’m trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get 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 going wrong ?
Solution
I solved this issue editing both /etc/yum.repos.d/epel.repo and /etc/yum.repos.d/epel-testing.repo files, commenting all entries starting with mirrorlist=... and uncommenting all the entries starting with baseurl=....
Answered By — fgalan
Answer Checked By — Senaida (FixIt Volunteer)
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0
메타데이터
- post_id
- 5a0d30b657a5
- slug
- yum-error-cannot-retrieve-metalink-for-repository-epel-5a0d30b657a5
- url
- https://medium.com/@fixitblog/yum-error-cannot-retrieve-metalink-for-repository-epel-5a0d30b657a5
- canonical_url
- https://medium.com/@fixitblog/yum-error-cannot-retrieve-metalink-for-repository-epel-5a0d30b657a5
- author_url
- https://medium.com/@fixitblog
- status
- ok
- fetched_at
- 2026-06-16 19:09:56