yum error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” updating ContextBroker

前端 未结 21 953
一生所求
一生所求 2020-12-22 18:00

I\'m trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get the following error:

Loaded plugins: fast

21条回答
  •  独厮守ぢ
    2020-12-22 18:21

    You may come across this message/error, after installing epel-release. The quick fix is to update your SSL certificates:

    yum -y upgrade ca-certificates
    

    Chances are the above error may also occur while certificate update, if so, just disable the epel repo i.e. use the following command:

    yum -y upgrade ca-certificates --disablerepo=epel 
    

    Once the certificates will be updated, you'll be able to use yum normally, even the epel repo will work fine. In case you're getting this same error for a different repo, just put it's name against the --disablerepo= flag.


    Note: use sudo if you're not the root user.

提交回复
热议问题