Centos 8 出现 Failed to download metadata for repo 'appstream' 问题解决

修改 /etc/yum.repos.dCentOS-xxx.repo 文件

http://mirror.centos.org
改成
https://vault.centos.org