因为网关地址改变没有及时更新配置,形成没法下载centos
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to trythis
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.url
当时不知道缘由,执行 yum clean all 后 出现如下错误xml
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:it
Cannot find a valid baseurl for repo: base/7/x86_64io
当出现以上问题的时候,能够检查一下网关配置ftp