centos8 yum时总报错Failed to synchronize cache for repo ‘AppStream‘, ignoring this repo.

发布时间 2023-11-28 00:55:56作者: 郭小睿

进入/etc/yum.repos.d/找到对应的CentOS-AppStream.repo文件,把原始的baseurl换成​​​​​​https://mirrors.aliyun.com/centos/8-stream/AppStream/$basearch/os/

跟其他的不一样的地方在8-stream这个位置,原始的是$releasever,改成8-stream后应该就可以正常使用了。

其他的几个也是一样的改法。