码迷,mamicode.com
首页 > 其他好文 > 详细

yum无法下载,网关问题

时间:2019-08-06 10:48:11      阅读:311      评论:0      收藏:0      [点我收藏+]

标签:from   错误   more   and   this   val   ack   pom   --   

 

由于网关地址改变没有及时更新配置,造成无法下载

failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try

http://mirrors.neusoft.edu.cn/centos/7.6.1810/os/x86_64/Packages/tftp-5.2-22.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.

 

当时不知道原因,执行 yum clean all 后  出现以下错误

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:


Cannot find a valid baseurl for repo: base/7/x86_64

当出现以上问题的时候,可以检查一下网关配置

 

yum无法下载,网关问题

标签:from   错误   more   and   this   val   ack   pom   --   

原文地址:https://www.cnblogs.com/kairo/p/11307391.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!