YEL安装在RHEL 6.5中失败

我试图安装使用YUM安装shibboleth SP包(百胜安装shibboleth)。 安装时出现以下错误。

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. 

什么可能是这个问题的原因? 我在一些其他机器上使用相同的命令安装它(它工作正常)。

如果你的浏览器里有404, 那是什么意思 ? 这里是一样的东西。

您已经caching了有关此存储库的元数据不再有效,或者您有networking问题到达镜像。 从yum clean all开始,再试一次。 如果仍然失败,请开始调查networking堆栈。 (你是否在这个主机上为download.opensuse.orgcaching了一个不好的DNSlogging)

最后我确定了这个问题。

我的机器联系的镜像不包含请求的文件。

因此,更改存储库configuration中的基本URL /镜像列表即可解决问题。