无法检索存储库:沙箱的存储库元数据(repomd.xml).请验证其路径,然后重试 [英] Cannot retrieve repository metadata (repomd.xml) for repository: sandbox. Please verify its path and try again

查看:724
本文介绍了无法检索存储库:沙箱的存储库元数据(repomd.xml).请验证其路径,然后重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VirtualBox上安装了HDP 2.6.1,并试图运行

I have HDP 2.6.1 installed on VirtualBox and am attempting to run

yum install python-pip

但是,出现以下错误:

http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: sandbox. Please verify its path and try again

当我需要pip来安装MRJob时,如何成功安装pip?

As I need pip to install MRJob, how can I sucessfuly install pip?

推荐答案

我通过以下方式解决了此问题:

I fixed this by:

cd /etc/yum.repos.d mv sandbox.repo /tmp

cd /etc/yum.repos.d mv sandbox.repo /tmp

如果您查看该文件,则会看到它是指 http://dev2.hortonworks. com.s3.amazonaws.com 作为基本网址.

If you look in that file you see it refers to the http://dev2.hortonworks.com.s3.amazonaws.com as baseurl.

然后yum install python-pip起作用了,但是以防万一我再次需要该沙箱仓库,我将其移回了mv /tmp/sandbox.repo .

Then the yum install python-pip worked but just in case I need that sandbox repo again I moved it back mv /tmp/sandbox.repo .

编辑-我在docker映像上,但是我想对于VM来说是一样的. A

EDIT - I am on the docker image but I guess would be the same for the VM. A

这篇关于无法检索存储库:沙箱的存储库元数据(repomd.xml).请验证其路径,然后重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆