On 03/10/2018 02:35 PM, Eg. Bo. wrote: > > Hello, > > who could help in resolving an issue with an AWS S3 mirror ? > I'd like to download the epel release package using this URL: 'http://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm'. > On my PC (proxy) I can download the file however if I run wget on EC2 instances (tried different accounts) in region eu-west-1 this ends up in 404. > > > [ec2-user@ip ~]$ wget 'http://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm' > --2018-03-10 03:30:12-- http://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm > Resolving download.fedoraproject.org (download.fedoraproject.org)... 184.108.40.206, 220.127.116.11, 18.104.22.168, ... > Connecting to download.fedoraproject.org (download.fedoraproject.org)|22.214.171.124|:80... connected. > HTTP request sent, awaiting response... 302 Found > Location: http://s3-mirror-eu-west-1.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm [following] > --2018-03-10 03:30:12-- http://s3-mirror-eu-west-1.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm > Resolving s3-mirror-eu-west-1.fedoraproject.org (s3-mirror-eu-west-1.fedoraproject.org)... 126.96.36.199 > Connecting to s3-mirror-eu-west-1.fedoraproject.org (s3-mirror-eu-west-1.fedoraproject.org)|188.8.131.52|:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 2018-03-10 03:30:12 ERROR 404: Not Found. > [ec2-user@ip ~]$ > > The link http://s3-mirror-eu-west-1.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm isn't also valid on my PC. > > > Please help/fix.
Yeah, this is because that url points to just a link on our master mirrors to help folks install the latest version of that package. Where did you get the download.fedoraproject.org url for it? You can use: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm which will use the master mirrors for it. As for fixing it on AWS, I suppose we could add some logic to our mirroring to also copy up the latest epel-release version as that 'latest' link. We should make sure it auto updates though so we aren't publishing a stale package. Ricky: can you look into adding that to the existing sync script? kevin
Description: OpenPGP digital signature
_______________________________________________ infrastructure mailing list -- email@example.com To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org