Joyber 的博客 - Centos8问题解决：Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorlist 的评论
1、进入yum的repos目录cd /etc/yum.repos.d/2、修改所有的CentOS文件内容sed -i 's/mirrorlist/#mirrorlist/g'...