CentOs8 repository status Code 404 failed to download metadata

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

centos-vault | Mirror site usage help | Tsinghua University open source software mirror site | Tsinghua Open Source Mirror

If you upgrade to CentOS8 Stream, you can refer to the following to change the source.

centos | Mirror station usage help | Tsinghua University open source software mirror station | Tsinghua Open Source Mirror

Guess you like

Origin blog.csdn.net/qq_25484769/article/details/123269577