yum install failed

Peter Schober peter.schober at univie.ac.at
Fri Mar 9 08:03:12 EST 2018


* Mak, David <d.mak at northeastern.edu> [2018-03-08 20:59]:
> 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
> 
> You’ll get a 302/redirect as such: [...]
> 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

Or just use curl on the original URL with the right options, e.g.:

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

cURL can take care of the file naming and can also follow redirects.

-peter


More information about the users mailing list