【问题标题】:How can I resolve this message: "Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again"?如何解决此消息:“无法检索存储库的存储库元数据 (repomd.xml):CentALT。请验证其路径并重试”?
【发布时间】:2015-07-20 18:49:45
【问题描述】:

当运行这个 CentOS 6 时:

yum update

我明白了:

Loaded plugins: fastestmirror, priorities, security   
Loading mirror speeds from cached hostfile
 * base: mirror.bytemark.co.uk
 * extras: mirror.mhd.uk.as44574.net
 * updates: mirror.sov.uk.goscomb.net
http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again

我该如何解决?

【问题讨论】:

    标签: linux centos rpm


    【解决方案1】:

    我通过添加 chromium.repo 文件解决了这个问题。我正在使用 RH 6.6。我注释掉了 url 行,它可以工作。

    【讨论】:

      【解决方案2】:

      yum 服务器似乎无法访问,请尝试另一个镜像或先检查您的互联网连接。

      【讨论】:

      • 连接正常,消息显示“正在尝试其他镜像”。在出错之前。是否有我应该在配置中设置的镜像列表?
      • 首先检查您的 DNS,然后修改您的 /etc/yum.repos.d/[anyname_can_be].repo 将“baseurl”行更改为适当的服务器。然后运行 ​​yum clean;yum list 看看是否有效。
      猜你喜欢
      • 1970-01-01
      • 2019-05-02
      • 1970-01-01
      • 2014-12-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-08
      相关资源
      最近更新 更多