Prompt when updating software for centos8 of virtual machine on March 3, 2022
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)
Error: Failed to download metadata for repo 'BaseOS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I checked Tsinghua Source and found that
CentOS8 sources have been moved
Tsinghua source explains as follows
CentOS image usage help
Please note that CentOS 8 (non-Stream version) has entered the EOL out-of-service phase in advance, so the image has been officially moved.
If you want to continue using CentOS8, you need to read the following articles
If you upgrade to CentOS8 Stream, you can refer to the following to change the source.