Yum installation fails with RHEL 6.5

8,783

Solution 1

Finally I identified the issue.

The mirror which is contacted by my machine is not containing the files requested.

So changing the base URL/Mirror list in the repository configuration is solved the issue.

Solution 2

If you get a 404 in your browser, what does it mean? It's the same thing here.

You have cached metadata about this repository that is no longer valid, or you have a network problem reaching the mirror. Start with a yum clean all and try again. If it still fails, start investigating the network stack. (Are you caching a bad DNS record on this host for download.opensuse.org, etc.)

Share:
8,783

Related videos on Youtube

Aravindhan
Author by

Aravindhan

Software Engineer with over 7 years of experience in creating and managing high-quality products and projects. Some of the key clients that I have worked with are British Telecom, Vodafone, ATT, Softbank. With an engineering degree, I am passionate about Developing the product with a complete understanding of the technical aspects and process. I also have offshore experience and am a USA B1/B2 visa holder.

Updated on September 18, 2022

Comments

  • Aravindhan
    Aravindhan almost 2 years

    I am trying to install shibboleth SP package using YUM installation (Yum install shibboleth). I am getting the following error while installing.

    Downloading Packages:
    http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_CentOS-6/x86_64/libcurl-    openssl-7.33.0-1.1.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_CentOS-    6/x86_64/liblog4shib1-1.0.8-1.1.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned     error: 404 Not Found"
    Trying other mirror.
    http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_CentOS-6/x86_64/libsaml8-2.5.3-1.1.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_CentOS-6/x86_64/libxerces-c-3_1-3.1.1-2.1.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL  returned error: 404 Not Found"
    Trying other mirror.
    http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_CentOS-6/x86_64/libxml-security-c17-1.7.2-2.1.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_CentOS-6/x86_64/libxmltooling6-1.5.3-1.1.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL  returned error: 404 Not Found"
    Trying other mirror.
    
    Error Downloading Packages:libxerces-c-3_1-3.1.1-2.1.x86_64: failure: x86_64/libxerces-c-3_1- 3.1.1-2.1.x86_64.rpm from security_shibboleth: [Errno 256] No more mirrors to try.
    liblog4shib1-1.0.8-1.1.x86_64: failure: x86_64/liblog4shib1-1.0.8-1.1.x86_64.rpm from security_shibboleth: [Errno 256] No more mirrors to try.
    libcurl-openssl-7.33.0-1.1.x86_64: failure: x86_64/libcurl-openssl-7.33.0-1.1.x86_64.rpm from security_shibboleth: [Errno 256] No more mirrors to try.
    libxml-security-c17-1.7.2-2.1.x86_64: failure: x86_64/libxml-security-c17-1.7.2-2.1.x86_64.rpm from security_shibboleth: [Errno 256] No more mirrors to try.
    libsaml8-2.5.3-1.1.x86_64: failure: x86_64/libsaml8-2.5.3-1.1.x86_64.rpm from security_shibboleth: [Errno 256] No more mirrors to try.
    libxmltooling6-1.5.3-1.1.x86_64: failure: x86_64/libxmltooling6-1.5.3-1.1.x86_64.rpm from security_shibboleth: [Errno 256] No more mirrors to try.
    

    What could be cause of this issue?. I installed it using the same commands in some other machines(It worked fine).

  • Samuel Åslund
    Samuel Åslund about 7 years
    This answer would have been much more useful to me if if you had included how to find out which part of the configuration was broken. As Aaron said, the 404 already tells me that the file is missing.
  • BillMan
    BillMan about 5 years
    Thanks, "yum clean all" helped me after 2 hours of searching for answers!