博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons.
阅读量:4449 次
发布时间:2019-06-07

本文共 892 字,大约阅读时间需要 2 分钟。

 

Repository base is listed more than once in the configuration

Repository updates is listed more than once in the configuration

Repository addons is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

Loading mirror speeds from cached hostfile

http://mirrors.163.com/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. 

昨天遇到这个问题了,浪费了好多时间 源来是。。。。DNS的问题

修改 

/etc/resov.conf

添加

nameserver 219.141.140.130

nameserver 202.106.0.20

转载于:https://www.cnblogs.com/arcer/p/3166888.html

你可能感兴趣的文章
关于BeanUtils.copyProperties的用法和优缺点
查看>>
Python学习笔记(二)程序的注释
查看>>
Python学习笔记(四)变量的计算和输入输出
查看>>
数据库基础-数据库常用命令总结
查看>>
java8 按对象属性值排序
查看>>
[转帖]nvidia nvlink互联与nvswitch介绍
查看>>
[cnblog新闻]历史性时刻:云硬件支出首次高于传统硬件
查看>>
[转帖]Oracle dba_objects和all_objects 最大的区别
查看>>
【转帖】国产x86处理器KX-6000发布
查看>>
Google 翻译如何获取 tk 参数值?
查看>>
RSA算法及其在iOS中的使用
查看>>
判断一个数是否存在一个数组中,二分查找
查看>>
04-js的运算符
查看>>
第三天 while循环 及其用法
查看>>
Delphi 10 seattle 去掉自带的代码连接线
查看>>
构建高并发高可用的电商平台架构实践(转)
查看>>
Geometry Imager Viewport Filter
查看>>
Guava API学习之Optional 判断对象是否为null
查看>>
九度oj 题目1025:最大报销额
查看>>
数字及字符串
查看>>