概述
CentOS 开发者邮件列表显示,CentOS 6 已于11月30日 EOL,如果由于某种原因,您被困在 CentOS 操作系统的现在EOL(生命的尽头)版本,您将无法再yum upgrade成功运行。yum upgrade在 CentOS 6 中运行将产生以下结果:
YumRepo error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist WITH no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: cannot retrieve repository metaData (repomd.xml) for repository: base. Please verify its path and try again
更换yum源
CentOS官方:
阿里云镜像:
1、关闭fastestmirror
2、替换为官方Vault源
3、替换为阿里云Vault镜像
修复 EPEL 存储库
修复 SCLO 存储库
包含较新编译软件的存储库gcc可通过 Software Collections 获得。
但是,它的存储库同样消失了。改用 Vault 存储库:
原文链接:














发表评论