Fedora 42 no longer is in the normal mirrors, only in archives, so 42 users can no longer update nor upgrade #13442
Labels
No labels
after freeze
automation
backlog
blocked
change-ack
change-nak
change-noreleng
changes
Closed As
Can't Fix
Closed As
Duplicate
Closed As
Fixed
Closed As
Fixed with Explanation
Closed As
Get back later
Closed As
Grooming
Closed As
Insufficient data
Closed As
Invalid
Closed As
It's all good
Closed As
taiga
Closed As
upstream
day-to-day
dev
docs
easyfix
epel
f26
f27
f28
f29
f30
f31
f32
f33
f34
f35
f36
f37
f38
f39
f40
f41
f42
f43
f44
f45
fedora
groomed
high-gain
high-trouble
in-progress
in-review
investigation
legal
low-gain
low-trouble
mass rebuild
medium-gain
medium-trouble
meeting
mini-initiative
new_artifact
ops
pdc_retirement
rawhide
RCA
review
script
sidetarget
sprint-0
sprint-1
sprint-2
sprint-3
sprint-4
sprint-5
unfrozen
waiting on external
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
release-process
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
releng/tickets#13442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the issue
Fedora 42 mirrors all seem to no longer be under the normal mirror manager links, and are currently only available via "archive" links. A user on #fedora on IRC was attempting to update from 42, and dnf update failed repeatedly with errors like:
Status code: 404 for https://dl.fedoraproject.org/pub/fedora/linux/updates/42/Everything/x86_64/repodata/repomd.xml
root@noisy:
# dnf clean all# dnf updateRemoved 138 files, 102 directories (total of 531 MiB). 0 errors occurred.
root@noisy:
Updating and loading repositories:
Fedora 42 - x86_64 - Updates 100% | 346.0 B/s | 784.0 B | 00m02s
I looked around for a few minutes to see what I was seeing on mirrors, and every 42 mirror I saw was empty. If I go to "archive" mirrors, they were still populated. For now, the user switched to a baseurl pointing an an archive link to work around their issue:
baseurl=https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/$releasever/Everything/$basearch/
Looking into this more, I looked at mirrormanager to show what 42 mirrors still exist for x86_64
https://mirrormanager.fedoraproject.org/mirrors/Fedora/42/x86_64
Note that all URLs are noted as "Fedora Archive". I've never seen Fedora retire a release on the mirrors so quickly. This most likely means any users who have not updated yet will have problems updating.
When do you need this? (YYYY/MM/DD)
I realize that 42 went EOL a few months ago, but if this does break anyones update who hasn't updated yet I'd think fixing it sooner than later is good.
When is this no longer needed or useful? (YYYY/MM/DD)
Hard for me to say on this one, again, I realize 42 is EOL but there are certainly still users on it, or systems they haven't used in a while, etc.
If we cannot complete this, what is the impact? [Dependencies/Blocker]
From what I can tell, unless users figure out how to change the baseurl to an archive link, they won't be able to update.
Checklist
F-42 is EOL so there won't be upgrades, upgrades to f43+ will work though, although I did think mirrormanager did redirect to the archives.
Not sure what is the requirement here, when a release is EOL, there are no upgrades, and the release is moved to archived and so the mirrormanager redirects.
The archived content are available under:
/pub/archive/fedora/linux/releases/42
/pub/archive/fedora/linux/updates/42
/pub/archive/fedora/linux/updates/testing/42
/pub/archive/fedora-secondary/releases/42
/pub/archive/fedora-secondary/updates/42
/pub/archive/fedora-secondary/updates/testing/42
This includes all necessary content for releases, updates, and
updates/testing for both the primary and secondary architectures.
@jnsamyak wrote in #13442 (comment):
I think maybe the MM redirects aren't working, while there won't be updates, it shouldn't error out either.
Right, I would not expect any new updates post-EOL, but any existing updates that a user does not currently have (again, say they are bringing up a machine they haven't used for a while, etc) they should be able to update without errors and then perform a dnf system-upgrade.
I have a F42 machine here I need to update, and I could not reproduce the error, so I am not sure why that is. I'm also not sure how to test what MM is doing except indirectly via dnf.
Yeah, I thought this was the mirrormanager metalink redirect not working, but it seems to be here. ;(
you can just look at the metalinks directly: 'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f42&arch=x86_64'
So, I wonder if that user modified things to not use metalink?
They said they had swapped baseurl and metalink in fedora-updates.repo, but they undid it, verified the fedora-updates.repo was default, and did dnf clean all. It still kept failing. All being executed as root, so I don't think it was a wrong-user-seeing-cache type of issue, but sounds like it might have been cached in some way.
It could be a regional/routing thing, I have seen issues some times when in Australia.
Seems like this was perhaps user-specific, environment, regional, etc, not a general problem, so I am going to go ahead and close this. Thanks!