Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

I cannot install python-pip on Hortonworks sandbox 2.5

avatar
Explorer

This is the error I am getting....

 

[root@sandbox ~]# yum install python-pip

Loaded plugins: fastestmirror, ovl, priorities

Setting up Install Process

Loading mirror speeds from cached hostfile

epel/metalink                                                                                                                                                                                                          |  15 kB     00:00     

* base: mirror.metrocast.net

* epel: mirror.metrocast.net

* extras: mirror.ilumno.com

* updates: mirrors.oit.uci.edu

http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6/repodata/7fcacadb44b1a860fb704...: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 MCPMediaTypeBlocked"

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: failure: repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022b4-primary.sqlite.bz2 from HDP-UTILS-1.1.0.21: [Errno 256] No more mirrors to try.

[root@sandbox ~]# yum update

Loaded plugins: fastestmirror, ovl, priorities

Setting up Update Process

Loading mirror speeds from cached hostfile

epel/metalink                                                                                                                                                                                                          |  12 kB     00:00     

* base: mirror.metrocast.net

* epel: mirror.metrocast.net

* extras: mirror.ilumno.com

* updates: mirrors.oit.uci.edu

http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6/repodata/7fcacadb44b1a860fb704...: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 MCPMediaTypeBlocked"

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: failure: repodata/7fcacadb44b1a860fb704795c187f549103e855a0a93ed31293a0b270a9022b4-primary.sqlite.bz2 from HDP-UTILS-1.1.0.21: [Errno 256] No more mirrors to try.

1 REPLY 1

avatar
Master Mentor

@hassaniraj 

Looks like the error reported in this thread could be due to the same reason mentioned on another thread of yours:
https://community.cloudera.com/t5/Support-Questions/Hortonworks-sandbox-2-5-yum-update-not-working/m...

.
It will be great to follow the same instructions mentioned on that thread to see if that fixes this issue.

Specially  if you see some "dev2.hortonworks.com.s3.amazonaws.com" repos base URLs inside your "/etc/yum.repos.d" repos then please refer to the other thread and try to disable them and try again.

You should set the "enabled=0" (this will disable the sandbox.repo) which has issue. As that is just development repo and might not be available always.
https://community.cloudera.com/t5/Support-Questions/yum-install-error-please-help-me-out/m-p/203121

After removing the problematic repos try to perform a clean at yum level and then try again:

# yum clean all
# yum install python-pip



.