\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