开发者社区> 问答> 正文

CentOS6的epel源缺少repodata.xml文件

yum install时报错如下: http://mirrors.aliyun.com/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

展开
收起
1764942719597749 2020-12-04 17:37:06 5041 0
来自:镜像站
3 条回答
写回答
取消 提交回答
  • 阿里云官方镜像站已全面更新升级上线啦:https://developer.aliyun.com/mirror/

    2021-07-20 14:14:26
    赞同 展开评论 打赏
  • 2020年11月30日 centos6各大开源镜像站已经停止维护了 但是阿里源还是可以用的 因为他的centos-vault仓库里放了之前版本的centos的包 只需要在centos命令行界面下执行一下几条命令:

    sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf
    mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
    curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo 
    yum clean all
    yum makecache
    
    2020-12-18 17:40:26
    赞同 展开评论 打赏
  • 官方停止更新6了

    2020-12-09 15:21:46
    赞同 展开评论 打赏
来源圈子
更多
收录在圈子:
+ 订阅
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
低代码开发师(初级)实战教程 立即下载