I can't finish yum update command. I have error with sandbox.repo.
In the attachment you will find results of yum update.
Perhaps link in sandbox.repo is no longer up to date?
If you want to perform "yum update" then temporarily disable the sandbox.repo by setting the "enabled=0" inside the file "/etc/yum.repos.d/sandbox.repo" as following:
# cat /etc/yum.repos.d/sandbox.repo
name=Sandbox repository (tutorials)
After setting the "enabled=0" in the above file perform a yum clean and then try the update again.
# yum clean all
# yum update
View solution in original post
I followed the steps above, and no more 403 errors!! Yum update worked beautifully and my install of python pip worked. Amazing what one setting will do.
Good to know that the issue is resolved.
Basically the setting "enabled=0" will temporarily disable the sandbox.repo as that repo seems to have some issues currently and hence causing 403 error.
@Jay SenSharma Thank you. It is working now.
Good to know that it's working now.
It will be great if you can mark this HCC thread as Answered (Accepted) so that other HCC users can easily browse the answered threads when they encounter the similar error.
Yes. I am getting a similar error. Here is what I tried, and nothing worked.
I am having issues installing python-pip which looks like it requires that repo file you mentioned @Lukasz Szary . I have tried the following commands in putty:
yum install python-pip yum updateyum -y updateyum install epel-releaseyum --disablerepo=epel -y update ca-certificates
I'm running Horton sandbox 2.6.1; Windows 10; Oracle VM Virtual Box; Putty; no proxy. Nothing too out of the ordinary. I even dumped the firewall and tried all the commands
All of the commands were met with the following similar error 403 forbidden error:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: sandbox. Please verify its path and try again
[root@sandbox maria_dev]# yum --disablerepo=epel -y update ca-certificatesLoaded plugins: fastestmirror, ovl, prioritiesSetting up Update ProcessLoading mirror speeds from cached hostfile * base: reflector.westga.edu * extras: mirror.team-cymru.org * updates: mirror.sfo12.us.leaseweb.nethttp://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
Side note- that redhat article 69319 is restricted to subscribers. I'm not paying for a subscription to read that.
The problem site
appears to be the commonality through all of the error codes I received. Shouldn't I be able to access this through a normal browser?
I got this error in chrome and IE. Do we need to pass any logon info? Is the link still active? How do we update our sandbox so that running yum update pulls from the proper location?
<Error>< Code>AccessDenied</Code>< Message>Access Denied</Message>< RequestId>6E1B24189D335373</RequestId>
"); vertical-align: bottom; height: 10px;"><HostId> udzTFHaA9D/xJsvHGf/o1AZbb8mv4/whswlxsdWfu9C+VBHbCn9rz8HDoHR9iKVR2eDaWtRtPjY=< /HostId>
I don't understand that how to do enabled = 0 ??
As when you give a command - # cat /etc/yum.repos.d/sandbox.repo
it responded -
Then how to enabled would be 0 ??
@Nilesh Tokeria press the 'i' then replace with '0' after that press 'Esc' and then type :wq then Enter.
Many Thanks dear Sureshkumar.
I was looking for same as you mention properly step to step which solved my problem.