我是靠谱客的博主 善良香氛,这篇文章主要介绍centos8 Errors during downloading metadata for repository 'base':,现在分享给大家,希望可以做个参考。

yum命令Repository epel is listed more than once in the configuration CentOS Linux 8
centos8官方源已下线

复制代码
1
2
3
4
5
6
7
8
# 进入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
复制代码
1
2
yum源的原因。于是安装 EPEL 源,使用最新版本8, yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

https://blog.csdn.net/tongkongyu/article/details/122824763

最后

以上就是善良香氛最近收集整理的关于centos8 Errors during downloading metadata for repository 'base':的全部内容,更多相关centos8内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(50)

评论列表共有 0 条评论

立即
投稿
返回
顶部