LinuxSay - A Discussion Forum for Linux Enthusiasts

Yum Failing for update : [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not F

Hi,

I’m getting erros while trying to perform yum update in Redhat 6.7 and below are the errors.

https://cdn.redhat.com/content/dist/rhel/server/6/%24releasever/x86_64/os/repoda ta/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 4 04 Not Found”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-s

Tried with yum clean metadata and yum clean all but no luck. Anyone can suggest me for this issue.

Thanks in advance,
Walter

Hello, walter
First, you have to accept the certificate of mirror, then everything will be ok :slight_smile:
Best Regards.

1 Like

How to accept the certificate. Can you elaborate a bit more…Please…

Thanks,
Walter

Here, you find the answer: :slight_smile:
http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

and here:

Have fun. :slight_smile:

1 Like

Unregister the system and re-register it, Look at the below link for resolving the issue

https://access.redhat.com/solutions/64532

1 Like

it has been resolved after re-attaching to RHN