yum错误“无法为存储库检索metalink:epel.请验证其路径,然后重试"更新ContextBroker [英] yum error "Cannot retrieve metalink for repository: epel. Please verify its path and try again" updating ContextBroker
问题描述
我正在尝试使用命令yum install contextBroker更新Orion ContextBroker.不幸的是,我收到以下错误:
I'm trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get the following error:
已加载的插件:最快的镜像,refresh-packagekit,安全性加载
Loaded plugins: fastestmirror, refresh-packagekit, security Loading
从高速缓存的主机文件中镜像速度
mirror speeds from cached hostfile
错误:无法为存储库epel检索metalink.请确认 它的路径,然后重试
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
可能出什么问题了?
推荐答案
我解决了此问题,同时编辑了/etc/yum.repos.d/epel.repo
和/etc/yum.repos.d/epel-testing.repo
文件,注释了所有以mirrorlist=...
开头的条目,并取消了以baseurl=...
开头的所有条目的注释.
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=...
.
这篇关于yum错误“无法为存储库检索metalink:epel.请验证其路径,然后重试"更新ContextBroker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!