I have a Fedora 31 server that I set up not too long ago. When I try to install updates or install a new package today, this is what I see:
[root@gamma class]# dnf update
Fedora 31 - x86_64 - Updates 47 B/s | 19 B 00:00
Errors during downloading metadata for repository 'updates':
- Status code: 404 for http://download.fedoraproject.org/pub/fedora/linux/updates/31/Everything/x86_64/repodata/repomd.xml (IP: 2605:bc80:3010:600:dead:beef:cafe:feda)
Error: Failed to download metadata for repo 'updates': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Indeed, http://download.fedoraproject.org/pub/fedora/linux/updates/31/Everything/x86_64/repodata/repomd.xml is 404. Walking up the filesystem tree, I noticed that https://download.fedoraproject.org/pub/fedora/linux/updates/31/ has a readme saying, âThe contents of this directory have been moved to our archives âŚâ.
Why is the updates repo broken so soon (I know F33 is out, but 31 isnât really all that old) and (more importantly) how do I fix this so I can get the latest packages for this server? I know itâs been a while since updates were installed, so there should be at least a few updates pending. Itâd also be nice to be able to install new packages, but this missing repo breaks dnf install
too.