Upgrade between Fedora releases with system-upgrade
A Fedora “upgrade” is a release upgrade (for example F43 → F44), not the kind of major-version migration you do in the EL family. The official docs list three paths, and picking the wrong one is not “discouraged” — it is unsupported.
First: which methods are supported
Section titled “First: which methods are supported”The official upgrade docs split the paths by scenario:
| Scenario | Officially recommended path |
|---|---|
| Fedora Workstation (GNOME) | the graphical upgrade in GNOME Software (click the notification, or use the Updates panel) |
| Fedora KDE Plasma Desktop | ”Upgrade Now” in KDE Discover |
| Every other install (including Server, minimal and custom) | the DNF System Upgrade plugin (command line) |
Prerequisites: three things to do first
Section titled “Prerequisites: three things to do first”The official docs make these three steps prerequisites; do not skip them:
- Back up your data. The official wording is that problems are “extremely unlikely”, but a backup is still required first;
- Read the Release Notes for the target release to catch important changes and known issues;
- Update the current system to the latest. On the graphical path, click Refresh → Download → Restart & Update and finish all updates for the current release before upgrading. The official docs call this step “really important, please do not skip this step”.
The command-line flow: download, reboot, install, reboot again
Section titled “The command-line flow: download, reboot, install, reboot again”dnf system-upgrade works in three stages, and understanding them matters for troubleshooting:
- Download the new release’s packages while the system is running normally (the system stays usable);
- Reboot into a special environment (implemented as a systemd target) that performs the install;
- Reboot again into the new release once the install finishes.
In other words, the upgrade does not complete inside your current running system but in a transitional environment after the reboot — that is the biggest difference from “replacing packages in place”, and it explains why an interrupted upgrade cannot simply be re-run.
The command comes from different places depending on the DNF major version:
- Fedora 41 and later default to DNF5, where
system-upgradeis built in; - On DNF4 it is provided by the
dnf-plugin-system-upgradeplugin.
For the distribution-specific flow (--releasever=, GPG key import, keeping the cache and so on), see the official docs: Upgrading Fedora using the DNF system upgrade.
Failure and rollback
Section titled “Failure and rollback”If the system misbehaves after an upgrade, first check whether the rescue entry still works: the rescue kernel is created by Anaconda at install time, and while the initramfs follows kernel updates, the rescue kernel does not necessarily. The official fix is to regenerate it:
sudo rm /boot/*rescue*sudo kernel-install add "$(uname -r)" "/lib/modules/$(uname -r)/vmlinuz"You can also install dracut-config-rescue, which keeps the rescue kernel maintained automatically when dracut generates the initrd.
When you need to boot the previous kernel, point the default entry at it with grubby:
sudo ls /boot | grep vmlinuzsudo grubby --set-default /boot/vmlinuz-<version>.<release>.<arch>Suggested troubleshooting order
Section titled “Suggested troubleshooting order”The official docs separate “DNF system upgrade (recommended for other installs)” from “upgrading with the package manager” as two different paths, so first confirm which path you are on:
- Confirm the path: graphical upgrade (GNOME Software / Discover) or the command-line plugin? The failure points differ.
- Confirm the stage: did it fail during the download or during the install after reboot? The former can simply be retried (use
--setopt=keepcache=1to keep the cache if needed); the latter needs the logs from the transitional environment. - Do not fall back to a manual
dnfupgrade: that is the unsupported method described above, and it turns a failed upgrade into an unsupported mixed state. - For a systematic investigation, go back to the target release’s Release Notes and the upgrade chapter of the official Quick Docs.
Related pages
Section titled “Related pages”- Fedora 45: changes, download and upgrade — the target release’s current state and changes
- Fedora release cadence and support window — how much time you have and when to upgrade
- Fedora releases and EOL table — release states
- Troubleshooting a failed upgrade — failure modes and evidence collection
- Official: Upgrading Fedora using the DNF system upgrade, Upgrading to a new release