原文: https://www.cnblogs.com/junjind/p/9016107.html
centos-release-8.1-1.1911.0.9.el8.x86_64
找到
https://mirrors.aliyun.com/centos/8.1.1911/BaseOS/x86_64/os/Packages/
下载对应文件
解压打开后
centos-repos-8.1-1.1911.0.8.el8.x86_64\etc\yum.repos.d
复制到 yum.repos.d 下
然后
yum makecache