在2020年12月4日当天出现各大源站的centos版本镜像文件就剩下一个readme。除了centos6.10之外,其他版本基本上无法更新程序。 网上找了好久最终找一个可行的方案,具体出处忘了记录。 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 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos6_base.repo yum clean all yum makecache
Read More ~