I’ve let my F38 system fall behind due to health issues, and am now attempting to get it up to current release. Before anyone says it, I’m sure ‘fedora’ repo isn’t broken, but my ability to access the repo most definitely is.
When I issue the DNF upgrade refresh command I get a weird response
[root@nas02 ~]# sudo dnf upgrade --refresh
Fedora 38 - x86_64 6.9 kB/s | 1.4 kB 00:00
Error: Failed to download metadata for repo ‘fedora’: Cannot prepare internal mirrorlist: Parse error at line: 1 (Extra content at the end of the document
)
[root@nas02 ~]#
If I use wget to attempt to pull the referenced link, I get the following:
[root@nas02 ~]# cat ‘metalink?repo=updates-released-f38’
< ?xml version=“1.0” encoding=“utf-8”?>
< metalink version=“3.0” xmlns=“http://www.metalinker.org/” type=“dynamic” pubdate=“Thu, 06 Jun 2024 03:37:47 GMT” generator=“mirrormanager” xmlns:mm0=“Infrastructure/Fedorahosted-retirement - Fedora Project Wiki”>
< !-- # either path=, or repo= and arch= must be specified
→
< /metalink>
DNF is only requesting with repo=updates-released-f38 and the repo is complaining that it wants arch= as well. Everything I’ve read suggests that the link being followed is in the /etc/yum.repos.d/fedora-updates.repo file, but that file’s content includes a &arch=$basearch modifier that is not being shown on the dnf verbose output.