I’ve been trying to upgrade from Fedora 40 do Fedora 41 for the last 3 days running sudo dnf5 -y --releasever 41 system-upgrade download
and a few packages seem to be missing from all mirrors.
Examples: paps-0.8.0-10.fc41.x86_64.rpm python3-rpm-4.19.92-6.fc41.x86_64.rpm rpm-plugin-ima-0:4.19.92-6.fc41.x86_64
I upgraded Fedora many times in the past and it’s the first time I have such issues. Is there some problem with package propagation among mirrors or what?
Folks, there is no Fedora 41 yet. It’s a beta! And it’s called a beta for a reason. Also, the official way to upgrade from F40 is using dnf4 since dnf5 was never officially supported as a replacement of dnf4 in F40.
Note that versions of dnf5 in F40 and F41 (beta) are different, and so will be your experience.
The issues could be that you have packages which did not come from the fedora or rpmfusion repositories. If such packages causes version conflicts, it doesn’t matter if you use dnf4 or dnf5.
Also, sometimes the repository mirrors are in a not ready state, for example if they are in the middle of downloading packages from the fedora master repository. In that case, the issue may resolve itself a couple of hours later.
If you still encounter issues, you can also try the other supported way of upgrading to new major releases, including beta releases, via GNOME Software (supposing you’re using Workstation edition).
For that you would have to enable upgrading to pre-release versions via GNOME Software, by running the command gsettings set org.gnome.software show-upgrade-prerelease true[1]. Afterwords GNOME Software should propose upgrading to F41.
As always, system backups are recommended, and even more so before pre-release upgrades.
You might want to run the reverse command after upgrading to F41, so that you won’t get unwanted future upgrades. There were reports stating that pre-beta releases have also been proposed. ↩︎
After installing dnf and using it for an upgrade instead of dnf5 everything went smooth as always. Seems like a bug with dnf5. Interesting what this might be.