Jump to content

CentOS 8.0 ~ 8.5 yum update 失效


Jack

Recommended Posts

現在使用CentOS 8.0 ~ 8.5


敲指令時,應該會發生問題
sudo yum update


例如:阿里雲的主機

Errors during downloading metadata for repository 'AppStream':

- Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 100.100.2.148)

Error: Failed to download metadata for repo 'AppStream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

這需要更換源

網路搜尋後,你可以找到 centos yum 更換源 的解決方法

但建議不要使用CentOS 8.0 ~ 8.5

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...