On 03/10/2018 02:35 PM, Eg. Bo. wrote:
who could help in resolving an issue with an AWS S3 mirror ?
I'd like to download the epel release package using this URL:
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
220.127.116.11, 18.104.22.168, ...
Connecting to download.fedoraproject.org
HTTP request sent, awaiting response... 302 Found
Connecting to s3-mirror-eu-west-1.fedoraproject.org
HTTP request sent, awaiting response... 404 Not Found
2018-03-10 03:30:12 ERROR 404: Not Found.
isn't also valid on my PC.
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:
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?