Centos报错failovermethod 和 appstream
报错failovermethod
编辑/etc/yum.repos.d/CentOS-Epel.repo
sh
vim /etc/yum.repos.d/CentOS-epel.repo
将failovermethod
选项删除即可

报错appstream
参考这篇文章:https://blog.csdn.net/weixin_46533577/article/details/135237039