Repodata/repomd.xml 未找到

Repodata/repomd.xml not found

我正在使用 Opensuse,每当我要在其上安装任何软件时,它都会向我显示错误 "linux-7gyx:~ # zypper in python-oauthlib Retrieving repository 'New' metadata --------------------------------------------------[] File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/SUSE:/SLE-11:/SP3:/Update/standard/'"我应该怎么做才能消除此类错误,请帮助我。提前致谢

我没有你的错误的完整堆栈跟踪,因此很抱歉 - 我无法提供自定义解决方案。

我也为这个问题苦苦挣扎了一段时间。设法解决了它。在我的例子中,错误是 -

repodata/repomd.xml from stackdriver: [Errno 256] No more mirrors to try.

这发生在我尝试使用厨师食谱安装 stackdriver 时。

我开始使用'yum clean all'和'yum clean metadata'的常规选项进行故障排除。没有帮助。

在适当的时候,我检查了'/etc/yum.repos.d'下的 yum repo 文件。与我尝试安装的包 (stackdriver) 相关的问题是问题的原因。重命名该文件,问题得到解决 - 至少是暂时的。

当然,现在我正在尝试修复该回购文件 - 但这是次要问题。

希望对您有所帮助!