yum安装epel-release扩展源后yum 安装其他包报错:One of the configured repositories failed (unKnown)

当在Linux CentOS系统中使用yum安装epel-release扩展源后,遇到错误提示:One of the configured repositories failed (unKnown)。该错误的根本原因是yum源的配置问题。解决方案包括备份并修改epel.repo和CentOS-Base.repo配置文件,注释掉metalink和mirrorlist行,启用baseurl行,并清除yum缓存以更新源。
摘要由CSDN通过智能技术生成
yum 安装epel-release扩展源后报错:One of the configured repositories failed (unKnown)

-----------------------------------------------------

报错分析:

1、错误提示一:(虚假原因)

One of the configured repositories failed (Unknown),and yum doesn't have enough cached data to continue.

中文翻译

其中一个已配置的存储库失败(未知),并且yum没有足够的缓存数据可以继续。

2、错误提示二:(真实原因)(出问题的根本)

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again

中文翻译

无法检索存储库的metalink:epel / x86_64。 请验证其路径,然后重试

3.完整错误
One of the configured repositories failed (unKnown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:
     1. Contact the upstream for the repository and ge
  • 0
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值