I’m running Fedora 35 on a Framework laptop, as it was suggested as working out of the box on that laptop. In the past, updates with the “Gnome software” GUI worked fine. But recently I got this error:
- Maybe on Fedora side: Why does this error occur? Aren’t multiple mirrors configured by default? If not, why not? If yes, why would all of them fail?
- Maybe more on GNOME side: For users that aren’t comfortable in a terminal, how are they supposed to fix this error? The error doesn’t ask to retry, or to set a mirror, or check/change any other setting.
- Googling for that error I didn’t find any useful info. “fedora update systemd pam 404”, “fedora update systemd error”, “… mirror” and similar searches didn’t help. What would be a good search term to find a solution?
I personally haven’t worked much with Fedora yet (coming from Ubuntu), so I tried to
dnf check-updates and
dnf upgrade, which worked fine based on the terminal output.
Whereas in Gnome software it then shows this:
![image|690x469](upload://ep6otiUMkAw9REKamT32T8U3hT1.png) (Sorry as new user I’m not allowed to embed two images in a post)
What does that mean now?
When I then hit the update refresh button on the top left of the window, it doesn’t show any errors anymore, so maybe everything is resolved now , but doesn’t leave a nice taste in the mouth.
Overall the experience was not newbie friendly.
- Sometimes there is a network error that prevents loading / accessing one of the repo mirrors. If you try again later it probably will work.
The fact that dnf worked to do the upgrade is a good thing, and supposedly the different apps (gnome-software and dnf) install and upgrade packages from the same repo so the error is really a moot point now.
It does not tell you to try again or set a mirror, because it already told you all mirrors were tried. This is not a fedora problem but some sort of problem with connecting to the mirror(s) or the mirrors are not yet fully synced with the latest updates of the package listed. The 404 error says it could not find the requested file, exactly as you see with a ‘page not found’ 404 error on your browser…
There is no solution you could directly influence. Wait a short time, maybe even a day, and try again. I suspect the problem would be gone. In fact using dnf to successfully achieve the same thing shows the problem was resolved in the time between attempting to update with gnome-software and then doing so with dnf.
gnome-software and dnf have separate caches. Renew the cache might solve the problem too.
It does not tell you to try again or set a mirror, because it already told you all mirrors were tried.
I don’t know how many mirrors are configured and how quickly they become outdated / go offline, so I thought it would be sensible for the GUI to suggest to check on that and maybe and some newer mirrors.
As for the 404, yes the meaning was clear, but for a website/image it’s usually not worth trying again in a few minutes. If here you suspect it was some temporary error, shouldn’t the GUI suggest to try again later?
There is no solution you could directly influence. Wait a short time, maybe even a day, and try again. I suspect the problem would be gone
I got this error some days (or longer) ago already.
gnome-software and dnf have separate caches.
Ah, that would explain why dnf worked and the GUI didn’t.
Renew the cache might solve the problem too.
How do you do that in the GUI? I’m pretty sure I clicked on the refresh button on the top left at some point.
To refresh the cache for gnome-software use
pkcon refresh force