Fedora Account System
Red Hat Associate
Red Hat Customer
$ sudo dnf upgrade --refresh $ sudo dnf system-upgrade download --releasever=42 >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora- >>> Ошибка Librepo: Cannot prepare internal mirrorlist: Status code: 404 f Не удалось загрузить метаданные (metalink: "https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64") для репозитория "fedora" Ошибка Librepo: Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 (IP: 18.159.254.57) Reproducible: Always Steps to Reproduce: 1. sudo dnf system-upgrade download --releasever=42 Actual Results: Aforementioned error Expected Results: Probably no error
Not a bug in DNF5. It's a fault of the mirror server: $ wget -S 'https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64' # got header 359 bytes: :status: 404 x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff referrer-policy: same-origin content-type: application/metalink+xml content-length: 151531 date: Wed, 05 Feb 2025 11:35:34 GMT apptime: D=1980 x-fedora-proxyserver: proxy32.fedoraproject.org x-fedora-requestid: Z6NNB03NF_SDcYMnwVeOzQAATgI HTTP ERROR response 404 [https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64] Follow this Fedora infrastructure <https://pagure.io/fedora-infrastructure/issue/12384> ticket.