zoukankan      html  css  js  c++  java
  • Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons.

     


    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, 'xe5x9fx9fxe5x90x8dxe8xa7xa3xe6x9ex90xe6x9ax82xe6x97xb6xe5xa4xb1xe8xb4xa5')>

    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

  • 相关阅读:
    053-606
    053-605
    1019 General Palindromic Number (20分)
    1208. 翻硬币
    754. 平方矩阵 II
    1346. 回文平方
    680. 剪绳子
    1227. 分巧克力
    756. 蛇形矩阵
    429. 奖学金
  • 原文地址:https://www.cnblogs.com/arcer/p/3166888.html
Copyright © 2011-2022 走看看