开发者社区> 问答> 正文

yum makecache 时出错

在Linux上面配置阿里云软件源时,运行yum makecache 后出现如下错误,
base | 3.7 kB 00:00
http://mirrors.aliyun.com/centos/6/os/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
尝试其他镜像。
base | 3.7 kB 00:00
http://mirrors.aliyuncs.com/centos/6/os/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
尝试其他镜像。
错误:Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

查了好多资料,都没解决,特来请教。

展开
收起
舒云风 2017-09-27 18:08:32 10059 0
1 条回答
写回答
取消 提交回答
  • Stay hungry,Stay foolish.

    经典网络 还是 VPC环境?

    解析&PING mirrors.aliyun.com 这个是需要走公网的。
    解析&PING mirrors.cloud.aliyuncs.com 这个是走云端的内网的。

    2019-07-17 21:37:07
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载