Support Questions
Find answers, ask questions, and share your expertise

yum install error- please help me out!

Solved Go to solution

yum install error- please help me out!

New Contributor

It was working fine past few days. And all of a sudden I am getting following error for any yum command.

http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/repodata/repo md.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forb idden" 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 Re d Hat Support. Error: Cannot retrieve repository metadata (repomd.xml) for repository: sandbox. Please verify its path and try again

1 ACCEPTED SOLUTION

Accepted Solutions

Re: yum install error- please help me out!

Super Mentor

@Karpagalakshmi Rajagopalan

As you are getting the following error :

http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/repodata/repo md.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forb idden" Trying other mirror. 

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.

# cat /etc/yum.repos.d/sandbox.repo
[sandbox]
baseurl=http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/
name=Sandbox repository (tutorials)
gpgcheck=0
enabled=0

.

After making the above change please do a yum clean all as following and then everything should be fine.

# yum clean all

.

View solution in original post

8 REPLIES 8

Re: yum install error- please help me out!

New Contributor

Hi @Karpagalakshmi Rajagopalan

Where are you getting this error from ?

Are you following any instructions or tutorial that's leading to this error ?

Can you please point us to that doc ?

Re: yum install error- please help me out!

New Contributor

Hi Raja,

I am getting this error while trying to setup RStudio . I am using the following tutorial.

https://community.hortonworks.com/content/kbentry/69424/setting-up-rstudio-on-hortonworks-docker-san...

In particular, while trying to install Rstudio in the first step. Later I found that I get the same error for all yum commands.

Re: yum install error- please help me out!

Super Mentor

@Karpagalakshmi Rajagopalan

As you are getting the following error :

http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/repodata/repo md.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forb idden" Trying other mirror. 

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.

# cat /etc/yum.repos.d/sandbox.repo
[sandbox]
baseurl=http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/
name=Sandbox repository (tutorials)
gpgcheck=0
enabled=0

.

After making the above change please do a yum clean all as following and then everything should be fine.

# yum clean all

.

View solution in original post

Re: yum install error- please help me out!

Super Mentor

@Karpagalakshmi Rajagopalan

Good to know that the issue is resolved and solution worked for you. It will be also great if you can mark this HCC thread as Answered by clicking on the "Accept" Button. That way other HCC users can quickly find the solution when they encounter the same issue.

Re: yum install error- please help me out!

New Contributor

sure will do that

Re: yum install error- please help me out!

Explorer

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

do your yum install and move the sandbox.repo back to /etc/yum.repos.d

Re: yum install error- please help me out!

New Contributor

Hi Jay,

Your solution worked! Thanks very much for your help.

Re: yum install error- please help me out!

New Contributor

How did you do "Enable=0" ?

please describe.