Centos8 Yum源安装 正经小透明 2022-06-05 309 阅读1分钟 进入yum目录 cd /etc/yum.repos.d 删除目录下所有文件(注意完整复制,不要漏了那个点) rm -rf ./* 安装正确的源 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo 生成缓存 yum makecache 更新系统 yum -y update