admin管理员组

文章数量:1566224

问题:使用yum报错

Errors during downloading metadata for repository 'appstream':
  - Status code: 404 for http://mirrors.cloud.aliyuncs/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

解决方式:
修改 /etc/yum.repos.d/CentOS-Linux-AppStream.repo:

http://mirrors.cloud.aliyuncs/centos/
修改成
http://mirrors.aliyun/centos-vault/centos/

再把/etc/yum.repos.d/下的其他文件删除

本文标签: 报错ErrorsyumdownloadingAppStream