Bug 2343888 - Cannot prepare internal mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 returns 404 HTTP error
Summary: Cannot prepare internal mirrorlist: https://mirrors.fedoraproject.org/metalin...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-05 08:39 UTC by Stas Sergeev
Modified: 2025-02-05 11:44 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-05 11:38:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure fedora-infrastructure issue 12384 0 None None None 2025-02-05 11:39:16 UTC

Description Stas Sergeev 2025-02-05 08:39:16 UTC
$ 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

Comment 1 Petr Pisar 2025-02-05 11:38:43 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.