yum install failed

Mak, David d.mak at northeastern.edu
Thu Mar 8 14:58:58 EST 2018


Just happened to be trying to install shibd on some new instances of RHEL6 and ran into this issue. I’m afraid my workaround is basically to download the RPMs individually and install them via yum/rpm as such:

yumdownloader --resolve --urls shibboleth.x86_64

This results in a list of URLs such as:

http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/shibboleth-2.6.1-3.1.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/liblog4shib1-1.0.9-3.1.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/libsaml9-2.6.1-3.1.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/xmltooling-schemas-1.6.4-3.1.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/libxerces-c-3_1-3.1.4-1.1.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/opensaml-schemas-2.6.1-3.1.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/libcurl-openssl-7.57.0-1.1.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/libxml-security-c17-1.7.3-3.2.el6.x86_64.rpm
http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/libxmltooling7-1.6.4-3.1.el6.x86_64.rpm

If you download one of them:

curl http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6//x86_64/libxml-security-c17-1.7.3-3.2.el6.x86_64.rpm<http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6/x86_64/libxml-security-c17-1.7.3-3.2.el6.x86_64.rpm>

You’ll get a 302/redirect as such:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://provo-mirror.opensuse.org/repositories/security:/shibboleth/RHEL_6/x86_64/libxml-security-c17-1.7.3-3.2.el6.x86_64.rpm">here</a>.</p>
<hr>
<address>Apache/2.4.23 (Linux/SUSE) Server at download.opensuse.org Port 80</address>
</body></html>

I just copy the a href into curl and download it like so:

curl -o libxml-security-c17-1.7.3-3.2.el6.x86_64.rpm http://provo-mirror.opensuse.org/repositories/security:/shibboleth/RHEL_6/x86_64/libxml-security-c17-1.7.3-3.2.el6.x86_64.rpm

It may be quicker for you to do it from a browser, but my system doesn’t have one installed so I can’t be bothered to set one up.

HTH

From: users <users-bounces at shibboleth.net> on behalf of Fanjun Kong <frank.kong at thekpsoft.com>
Reply-To: Shib Users <users at shibboleth.net>
Date: Thursday, March 8, 2018 at 2:48 PM
To: Shib Users <users at shibboleth.net>
Subject: Re: yum install failed

yes, it is and so you have advice on this? Thanks!


Regards,

Frank Kong

KP Soft INC.
Business IT Development and Modernization Specialists

(O) 571-297-2602
(C) 301-655-2575

On Thu, Mar 8, 2018 at 10:57 AM, Paul Caskey <pcaskey at internet2.edu<mailto:pcaskey at internet2.edu>> wrote:
Someone noted yesterday that this seems more prevalent on “EC2 instances co-located in AWS us-east-1”.

Does that describe your deployment?


From: users [mailto:users-bounces at shibboleth.net<mailto:users-bounces at shibboleth.net>] On Behalf Of Fanjun Kong
Sent: Thursday, March 8, 2018 9:09 AM
To: Shib Users <users at shibboleth.net<mailto:users at shibboleth.net>>
Subject: yum install failed

I have installed CentOS 7.4 and tried yum install but I got below errors (I searched web for many times, it doesn't help to solve the issue)

yum -y install shibboleth.x86_64
Dependencies Resolved

================================================================================
 Package                Arch      Version          Repository              Size
================================================================================
Installing:
 shibboleth             x86_64    2.6.1-3.1        security_shibboleth    1.2 M
Installing for dependencies:
 libcurl-openssl        x86_64    7.57.0-1.1       security_shibboleth    231 k
 liblog4shib1           x86_64    1.0.9-3.2        security_shibboleth     68 k
 libmemcached           x86_64    1.0.16-5.el7     base                   237 k
 libsaml9               x86_64    2.6.1-3.1        security_shibboleth    957 k
 libxml-security-c17    x86_64    1.7.3-3.2        security_shibboleth    285 k
 libxmltooling7         x86_64    1.6.4-3.1        security_shibboleth    704 k
 opensaml-schemas       x86_64    2.6.1-3.1        security_shibboleth     29 k
 unixODBC               x86_64    2.3.1-11.el7     base                   413 k
 xerces-c               x86_64    3.1.1-8.el7_2    base                   878 k
 xmltooling-schemas     x86_64    1.6.4-3.1        security_shibboleth     12 k

Transaction Summary
================================================================================
Install  1 Package (+10 Dependent packages)

Total size: 4.9 M
Total download size: 4.7 M
Installed size: 28 M
Downloading packages:
No Presto metadata available for security_shibboleth
liblog4shib1-1.0.9-3.2.x86_64. FAILED
http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_7/x86_64/liblog4shib1-1.0.9-3.2.x86_64.rpm: [Errno 12] Timeout on http://provo-mirror.opensuse.org/repositories/security:/shibboleth/CentOS_7/x86_64/liblog4shib1-1.0.9-3.2.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
libcurl-openssl-7.57.0-1.1.x86 FAILED
http://download.opensuse.org/repositories/security%3A/shibboleth/CentOS_7/x86_64/libcurl-openssl-7.57.0-1.1.x86_64.rpm: [Errno 12] Timeout on http://provo-mirror.opensuse.org/repositories/security:/shibboleth/CentOS_7/x86_64/libcurl-openssl-7.57.0-1.1.x86_64.rpm: (28, 'Operation t

--
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net<mailto:users-unsubscribe at shibboleth.net>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20180308/4eff8ada/attachment.html>


More information about the users mailing list