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

前端 未结 21 848
一生所求
一生所求 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:25

    None of these worked for me (I didn't even try the hacks like manually editing the repo file).

    However it worked after a simple yum update -y

    0 讨论(0)
  • 2020-12-22 18:26

    For boxes that does not have internet access, you can remove epel repository:

    yum remove epel-release --disablerepo=epel

    This happened to me as I accidentally installed epel-release using rpm on a prod box.

    0 讨论(0)
  • 2020-12-22 18:27

    Try

    yum clean all --enablerepo=*
    

    Then

    yum update --disablerepo=epel
    
    0 讨论(0)
  • 2020-12-22 18:29

    I've workaround this issue by changing the https entries in epel.repo file to http.

    0 讨论(0)
  • 2020-12-22 18:32

    I guess this should work. I solved my problem with this.

    $ sudo yum clean all

    $ sudo yum --disablerepo="epel" update nss

    0 讨论(0)
  • 2020-12-22 18:32

    All of the above did not work for me, but a rebuild of the rpm database, with the following command, did:

    sudo rpm --rebuilddb
    

    Thanks all for the help.

    0 讨论(0)
提交回复
热议问题