其他分享
首页 > 其他分享> > Cenos7.5 failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try.

Cenos7.5 failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try.

作者:互联网

错误原因:yum源错误

解决方案:

修改 CentOS-Base.repo 文件

cd /etc/yum.repos.d

wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

yum clean all
yum makecache

如果 yum 还不能用

https://bitsanddragons.wordpress.com/2019/11/21/yum-errors-errno-14-errno-256-no-more-mirrors-to-try-on-centos-7/
如果 url 不能访问,其链接中的主要操作如下:
root@bad ~ ## > cd /etc/yum.repos.d/
root@bad /etc/yum.repos.d ## > rm *
root@bad ~ ## > rm -fr /var/cache/yum/*
root@bad ~ ## > yum clean all
root@bad ~ ## > rpm -vv --rebuilddb
root@bad ~ ## > rsync -av root@health:/etc/yum.repos.d/ /etc/yum.repos.d/ --delete-after --progress

然后继续上面的 1、2、3


-----------------------------------------------------我是分割线--------------------------------------------------


上面操作过后还是无效

https://blog.csdn.net/weixin_41368339/article/details/111150033
操作完第四步之后,上面的解决方案,1、2、3,OK

标签:xml,epel,repodata,##,repos,repo,bad,yum,root
来源: https://blog.csdn.net/weixin_43261465/article/details/118683428