无法检索存储库的存储库元数据 (repomd.xml):沙箱。请验证其路径并重试
Cannot retrieve repository metadata (repomd.xml) for repository: sandbox. Please verify its path and try again
我在 VirtualBox 上安装了 HDP 2.6.1 并且正在尝试 运行
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,请问如何安装成功?
我通过以下方式解决了这个问题:
cd /etc/yum.repos.d
mv sandbox.repo /tmp
如果您查看该文件,您会发现它引用 http://dev2.hortonworks.com.s3.amazonaws.com 作为 baseurl。
然后 yum install python-pip
起作用了,但为了以防万一我再次需要那个沙箱回购协议,我把它移回去了 mv /tmp/sandbox.repo .
编辑 - 我在 docker 图像上,但我想对于 VM 也是一样的。
A
您可以在sandbox.repo中将启用标志设置为0。您将需要以 root 身份执行操作。
# su root
# vi /etc/yum.repos.d/sandbox.repo
进入INSERT模式并将行enabled=1修改为enabled=0。保存并退出。
最后,运行 yum clean 并再次尝试安装。
# yum clean all
我在 VirtualBox 上安装了 HDP 2.6.1 并且正在尝试 运行
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,请问如何安装成功?
我通过以下方式解决了这个问题:
cd /etc/yum.repos.d
mv sandbox.repo /tmp
如果您查看该文件,您会发现它引用 http://dev2.hortonworks.com.s3.amazonaws.com 作为 baseurl。
然后 yum install python-pip
起作用了,但为了以防万一我再次需要那个沙箱回购协议,我把它移回去了 mv /tmp/sandbox.repo .
编辑 - 我在 docker 图像上,但我想对于 VM 也是一样的。 A
您可以在sandbox.repo中将启用标志设置为0。您将需要以 root 身份执行操作。
# su root
# vi /etc/yum.repos.d/sandbox.repo
进入INSERT模式并将行enabled=1修改为enabled=0。保存并退出。 最后,运行 yum clean 并再次尝试安装。
# yum clean all