ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 问题 Yum on Centos 8 - Failed to download metadata for repo 'AppStream 原文地址:https://baijiahao.baidu.com/s?id=1729165789470472091&wfr=spider&for=pc 解决办法如下: 1、进入yum的repos目录 > `cd /etc/yum.repos.d/` 2、修改所有的CentOS文件内容 > sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-\* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-\* 3、更新yum源为阿里镜像 > wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo yum clean all yum makecache