【问题标题】:Running yum update and I get this error运行 yum update 我得到这个错误
【发布时间】:2016-02-27 02:15:44
【问题描述】:

当我尝试运行 yum update 时出现以下错误,我猜它与 atrpms repo 有关,但我不知道如何修复它

Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
epel/metalink                                            |  14 kB     00:00
 * base: centos.chi.host-engine.com
 * epel: mirror.steadfast.net
 * extras: mirror.fusioncloud.co
 * updates: bay.uchicago.edu
http://dl.atrpms.net/el6-x86_64/atrpms/stable/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again

【问题讨论】:

    标签: centos yum


    【解决方案1】:

    这里有一个修复。尝试使用

    sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo

    【讨论】:

    • 哈利路亚!谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-09-17
    • 2022-08-15
    • 1970-01-01
    • 2021-04-10
    • 2022-12-15
    • 2021-05-23
    • 2016-11-25
    相关资源
    最近更新 更多