yum install failed

Mak, David d.mak at northeastern.edu
Thu Mar 8 16:51:38 EST 2018


Personally, if I were installing on CentOS7 or RHEL7, I would go here:

https://shibboleth.net/downloads/service-provider/latest/RPMS/

Select CentOS7 from the drop-down, which generates the following for me:

[security_shibboleth]
# If the mirrors stop working, change download to downloadcontent...
name=Shibboleth (CentOS_7)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7/repodata/repomd.xml.key
enabled=1

Then edit / replace the download.opensuse with downloadcontent.opensuse ; or, you could change the path and name refererences to point from RHEL6 to CentOS7, but that seems sillier.

HTH,
David Mak
Identity Services Specialist
Information Technology Services
Northeastern University
360 Huntington Ave. Boston MA 02115-5000
Mail Stop: 322-C21
Office: 617-373-7836 Mobile: 617-840-7543


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 4:42 PM
To: Shib Users <users at shibboleth.net>
Subject: Re: yum install failed

so how can I solve this CentOS7.4 issue?
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
[https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif]



On Thu, Mar 8, 2018 at 4:33 PM, Mak, David <d.mak at northeastern.edu<mailto:d.mak at northeastern.edu>> wrote:
No, you would want to use a centos7 specific set of mirrors….

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

Mark,

Can I user your provide "repo" on CentOS 7.4 ?
Thanks!




On Thu, Mar 8, 2018 at 3:16 PM, Mak, David <d.mak at northeastern.edu<mailto:d.mak at northeastern.edu>> wrote:
Oops... Sorry! I missed that (clearly) and that is indeed a much better, easier work-around... just edit your yum repo as indicated

Our config on one host has the following that works:

cat /etc/yum.repos.d/shibboleth.re<http://shibboleth.re>po
[security_shibboleth]
# If the mirrors stop working, change download to downloadcontent...
name=Shibboleth (RHEL_6)
type=rpm-md
baseurl=http://downloadcontent.opensuse.org/repositories/security:/shibboleth/RHEL_6/
gpgcheck=1
gpgkey=http://downloadcontent.opensuse.org/repositories/security:/shibboleth/RHEL_6/repodata/repomd.xml.key
enabled=1

On 3/8/18, 3:00 PM, "users on behalf of Cantor, Scott" <users-bounces at shibboleth.net<mailto:users-bounces at shibboleth.net> on behalf of cantor.2 at osu.edu<mailto:cantor.2 at osu.edu>> wrote:

    > 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:

    Or you can do what we posted as a workaround months ago the last time this happened.

    -- Scott

    --
    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>

--
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>


--
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/8b7f28cf/attachment.html>


More information about the users mailing list