当前位置:   article > 正文

One of the configured repositories failed (Unknown),and yum doesn‘t have enough cache_one of the configured repositories failed (extra p

one of the configured repositories failed (extra packages for enterprise lin

进入到 vi 编辑界面:

vi /etc/yum.repos.d/epel.repo
ps:有vim,可以用vim

进入编辑  按 i

  1. // 将下面的这一段代码修改为:
  2. [epel]
  3. name=Extra Packages for Enterprise Linux 7 - $basearch
  4. #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
  5. mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
  6. // 改为:
  7. [epel]
  8. name=Extra Packages for Enterprise Linux 7 - $basearch
  9. baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
  10. #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

保存退出 vi 编辑:

 按Esc键,输入 :wq  回车 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/1016410
推荐阅读
相关标签
  

闽ICP备14008679号