【问题标题】:How to fix "Cannot retrieve repository metadata (repomd.xml)" error installing Ripple - yum如何修复安装 Ripple 时出现的“无法检索存储库元数据 (repomd.xml)”错误 - yum
【发布时间】:2016-07-05 13:10:39
【问题描述】:

我在documentation之后安装了Ripple rpm repo

(步骤 1)

$ sudo rpm -Uvh https://mirrors.ripple.com/ripple-repo-el7.rpm

然后(步骤2)我运行命令:

sudo yum install --enablerepo=ripple-stable rippled

但我得到了错误:

https://mirrors.ripple.com/rpm/%24releasever/stable/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ripple-stable. Please verify its path and try again

有人知道怎么解决吗?

【问题讨论】:

    标签: centos rpm yum ripple


    【解决方案1】:

    尝试在不受支持的环境中安装波纹包时出现该错误消息。

    rippled rpm 包目前为 only available for CentOS/RHEL 7(和 Ubuntu 15+ 使用外星人)

    您可以尝试安装:

    sudo yum install --enablerepo=ripple-stable --releasever=el7 rippled
    

    但是YMMV。

    【讨论】:

      【解决方案2】:

      \该 URL 是可疑的 - 它显示 %24releasever 这是 URL 编码的 $releasever 这意味着您的 yum 没有填写该空白,例如.../rpm/7/stable/.

      尝试将其硬编码到您可以在您的第一步安装的/etc/yum.repos.d/ 中找到的文件中。

      【讨论】:

        猜你喜欢
        • 2019-05-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-07-24
        • 1970-01-01
        • 1970-01-01
        • 2021-07-24
        相关资源
        最近更新 更多