I have a freshly installed and fully updated Fedora Workstation 38. I would like to upgrade the system to Fedora 40, yet I am not able to do it, because the system fails on downloading the repos. I think this is connected with fedora-modular repos missing in Fedora 40, because Software reports: ``` cannot update repo 'fedora-modular': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-40&arch=x86_64 (IP: 38.145.60.21); Last error: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-40&arch=x86_64 (IP: 85.236.55.6) ``` Similar error can be found in journalctl, see attachment. Reproducible: Always Steps to Reproduce: 1. Install Fedora 38 from scratch. 2. Run 'sudo dnf -y update --refresh' to update the system to latest packages. 3. Run 'gsettings set org.gnome.software show-upgrade-prerelease true' to allow upgrades to the Beta version. 4. Start Software and try to download the upgrades. Actual Results: Fedora 38 cannot be upgraded to Fedora 40. Expected Results: Upgrades are flawless. This does not happen on Fedora 39 which can be upgraded without any problems.
Created attachment 2020660 [details] Journalctl from the affected machine.
Created attachment 2020661 [details] Software failure
Proposed as a Blocker for 40-beta by Fedora user lruzicka using the blocker tracking app because: I think this is a serious violation of the Upgrade requirements criterion (https://fedoraproject.org/wiki/Fedora_40_Beta_Release_Criteria#Upgrade_requirements).
Ugh, I thought I checked that we'd removed the modular repos before F38 :/ Kevin, what do you think we should do? Put the redirect-to-the-fedora-repo back in the mirror system? :/
Yeah, I suppose we need redirects in mm for fedora-40 (and can finally not have them with 41). I can try and set this up... or we can see if AdrianR can.
ok. I setup the redirects. They should be live in ~1hour.
'curl https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-40&arch=x86_64' not works, and the <url> elements in the answer also return some data. So I'm pretty sure this should work now.
+5 in https://pagure.io/fedora-qa/blocker-review/issue/1503 , marking accepted as a 0-day blocker as the intended fix is not on any release media or previous release repos.
$ podman run -it --rm fedora:38 [root@38b8fe023837 /]# dnf distro-sync --releasever=40 Fedora 40 - x86_64 4.7 MB/s | 92 MB 00:19 Fedora 40 openh264 (From Cisco) - x86_64 726 B/s | 2.6 kB 00:03 Fedora Modular 40 - x86_64 268 kB/s | 445 kB 00:01 Fedora 40 - x86_64 - Updates 252 B/s | 257 B 00:01 Fedora Modular 40 - x86_64 - Updates 345 kB/s | 445 kB 00:01 Fedora 40 - x86_64 - Test Updates 3.3 MB/s | 10 MB 00:03 Fedora Modular 40 - x86_64 - Test Updates 268 kB/s | 445 kB 00:01 Dependencies resolved. ====================================================================================================================== Package Architecture Version Repository Size ====================================================================================================================== Upgrading: ... Complete! Fedora Modular 40 - x86_64 and Fedora Modular 40 - x86_64 - Updates and Fedora Modular 40 - x86_64 - Test Updates are all successfully downloaded.