Support Questions

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

Hortonworks sandbox 2.5 yum update not working


This is the issue...

[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:

* epel:

* extras:

* updates: [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


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- [Errno 256] No more mirrors to try.


Master Mentor


1. Please try restarting the VM once.

2. Inside the sandbox do SSH login and then try to see if you are able to make the following curl call .. this is just to verify the repo accessibility. If the following URL does not work then please share the HTTP Header section output of the following curl commands here so that we can verify if there are some special headers like Network proxy ..etc.

# curl -iLvk <a href="" target="_blank"></a>



# curl -iLvk  <a href="" target="_blank"></a>


3. If above works fine then we will have to look from the YUM side. Please try to perform the yum cache cleanup and then retry:


# yum clean all
# yum update


4. It will be also good to verify if the "/etc/yum.repos.d/" directory has any problematic repo. Can you please list them?


# ls -lart /etc/yum.repos.d/


For temporarily you can move some of the repo files from "/etc/yum.repos.d/" file to outside and then retry... this will help in isolating if there are any corrupted repo issue.

5. Recently have you made any changes to the "/etc/yum.conf" file like enabling/disabling any proxy setting ..?
# cat /etc/yum.conf


Also if you see some "" repos URLs inside your "/etc/yum.repos.d" repos then please refer to the other thread and try to disable them and try again:



# cat /etc/yum.repos.d/sandbox.repo
baseurl=<a href="" target="_blank"></a>
name=Sandbox repository (tutorials)






If your question is answered then, Please make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.