\Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
CentOS-8 - AppStream 15 kB/s | 2.3 kB 00:00
Error: Failed to synchronize cache for repo 'AppStream'
在centos8安装docker报错
Failed to synchronize cache for repo 'AppStream'
解决方案
1.查看配置信息
vi CentOS-Base.repo
baseurl=http://mirrors.aliyun.com/centos-vault/8.5.2111/extras/$basearch/os/
gpgcheck=0
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
2.修改配置信息
vi CentOS-AppStream.repo
3.刷新
dnf clean all
dnf makecache
本文解决了在CentOS 8中安装Docker时遇到的重复仓库配置及缓存同步失败的问题。通过检查和修改相关配置文件,最终成功安装。

4535

被折叠的 条评论
为什么被折叠?



