2022年3月3日为虚拟机的centos8更新软件时提示
Errors during downloading metadata for repository 'BaseOS':
- Status code: 404 for https://mirrors.tuna.tsinghua.edu.cn/centos/8/BaseOS/x86_64/os/repodata/repomd.xml (IP: 101.6.15.130)
错误:为 repo 'BaseOS' 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
查了下清华源 发现
CentOS8源已被移动
清华源说明如下
CentOS 镜像使用帮助
请注意,CentOS 8 (非 Stream 版)已提前进入 EOL 停止服务阶段,因此镜像已被官方移动。
如想继续使用CentOS8 需要查看以下文章
centos-vault | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror
如升级成CentOS8 Stream 则可参考如下换源
centos | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror