#4910 Can't upgrade to F23
Closed: Fixed None Opened 4 years ago by zeenix.

= bug description =

Output from these two commands should be self-explanatory:


$ sudo dnf --releasever=23 --setopt=deltarpm=false distro-sync --nogpgcheck
Error: Failed to synchronize cache for repo 'fedora' from 'http://download.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

$ wget http://download.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/
--2015-10-05 13:13:22-- http://download.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/
Resolving download.fedoraproject.org (download.fedoraproject.org)... 5.175.150.50, 213.175.193.206, 67.219.144.68, ...
Connecting to download.fedoraproject.org (download.fedoraproject.org)|5.175.150.50|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-10-05 13:13:24 ERROR 404: Not Found.


My public IP is 86.135.5.33 and I'm in UK, FWIW.


This is not expected to work pre-release if you modify your repo files.

You seem to have commented out the metalink and in the baseurl in /etc/yum.repos.d/fedora.repo

With the metalink the server can direct you to the right place. With the simple download baseurl it only can once that location actually exists.

So, fix your fedora.repo to use the metalink and it should work.

Can you confirm that works?

Replying to [comment:1 kevin]:

This is not expected to work pre-release if you modify your repo files.

You seem to have commented out the metalink and in the baseurl in /etc/yum.repos.d/fedora.repo

With the metalink the server can direct you to the right place. With the simple download baseurl it only can once that location actually exists.

Ouch. In my defence, IIRC I did that to workaround an issue with mirrors at some point. But of course forgot about it since. :)

So, fix your fedora.repo to use the metalink and it should work.

Can you confirm that works?

Yeah, uncommenting the meta link, helps. Thanks so much for your quick reply.

Login to comment on this ticket.

Metadata