0

I am trying to install Shibboleth via ansible in a centos-7 machine which is hosted in AWS.

But am getting "Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds" error for installing Shibboleth and all its dependencies. I tired manually also with the command "sudo yum -y install shibboleth", but same error.

If I install any other package via ansible or manually are working.

I tries all of the following solutions, but no luck.

Reboot machine

sudo yum clean all

sudo yum clean metadata

sudo yum --disableplugin=fastestmirror update

sudo yum-complete-transaction 

sudo yum clean all && sudo yum makecache

Adding  minrate=1, timeout=300 to yum.conf
SANN3
  • 103
  • 3

1 Answers1

2

I was facing the same issue on Centos-7 hosted in us-east-1. There is some discussion of build service mirroring problems on the repository config generation page. When you use that form to generate a shibboleth.repo configuration there's also a comment suggesting an another workaround:

# If the mirrors stop working, change download to downloadcontent...

I updated the baseUrl and gpg in the repo content as below and my error got resolved.

[security_shibboleth]
name=Shibboleth (CentOS_7)
type=rpm-md
baseurl=http://downloadcontent.opensuse.org/repositories/security:/shibboleth/CentOS_7/
gpgcheck=1
gpgkey=http://downloadcontent.opensuse.org/repositories/security:/shibboleth/CentOS_7/repodata/repomd.xml.key
enabled=1   
Akanksha
  • 36
  • 2