Upgrading to Fedora 45: from 44, step by step
This page covers one concrete path: upgrading from Fedora 44 to 45. For the mechanism itself (which methods are supported, how offline transactions work) see Upgrade between Fedora releases; for what changed in F45 see Fedora 45: changes, download and upgrade.
Before upgrading: three things first
Section titled “Before upgrading: three things first”- Back up your data: if the upgrade fails, a backup is the only thing you can fall back on afterwards.
- Read the F45 Release Notes: confirm removals, default changes and the components you depend on.
- Bring 44 fully up to date:
sudo dnf upgrade --refreshChoosing a path: graphical or command line
Section titled “Choosing a path: graphical or command line”- Fedora Workstation: use the upgrade entry in GNOME Software;
- KDE Plasma: use Upgrade Now in Discover;
- Server, minimal and custom installs: use the DNF System Upgrade command line.
The command line in three stages: download, reboot, install
Section titled “The command line in three stages: download, reboot, install”sudo dnf system-upgrade download --releasever=45The system remains usable during the download stage; when it finishes, run:
sudo dnf system-upgrade rebootThe system reboots into a transitional environment that performs the install, then reboots into 45. The install stage does not run in your current system, so an interrupted upgrade cannot simply be re-run.
After the upgrade: F45-specific checks
Section titled “After the upgrade: F45-specific checks”Three things differ from 44 and are worth confirming one by one:
- Repository configuration location: packaged repositories moved from
/etc/yum.repos.dto/usr/share/dnf5/repos.d, and GPG keys live in/usr/share/pki/rpm-gpg. Confirm repositories withdnf repolist, then look atls /usr/share/dnf5/repos.d; custom repositories stay in/etc/yum.repos.d. - Signature checking is enforced: the
rpmlayer refuses unsigned packages;dnfrefuses them from repositories as well, while the local-file path only warns. Confirm signatures before installing third-party RPMs; details in Fedora security updates and advisories. - The console moved to kmscon: on Server and Workstation the VT console is provided by userspace kmscon; Cloud images do not enable it. When local console behaviour differs from what you expect, check this first.
Checking after the upgrade: a block you can copy
Section titled “Checking after the upgrade: a block you can copy”Once the upgrade finishes and you reboot into it, run these instead of going by feel:
grep -E "^(NAME|VERSION_ID|VARIANT)" /etc/os-releaserpm -q rpmdnf repolist | tail -n +2 | wc -lls /usr/share/dnf5/repos.d/*.repo | wc -lls /etc/yum.repos.d/*.repo 2>/dev/null | wc -lMeasured output on F45:
NAME="Fedora Linux"VERSION_ID=45VARIANT="Cloud Edition"rpm-6.1.0-1.fc45.x86_64440How to read it:
| Item | Expected | What it means otherwise |
|---|---|---|
VERSION_ID | 45 | the upgrade did not complete, still on the old release |
rpm -q rpm | 6.1.x | still rpm 6.0.x from F44, the upgrade did not take effect |
repolist count | matches the repositories you enable | repositories lost, check /usr/share/dnf5/repos.d |
/etc/yum.repos.d count | 0 with no custom repositories | non-zero just means you have custom ones, which is normal |
That last line matters: an empty /etc/yum.repos.d is the normal state on F45, not lost repositories — the packaged ones moved to /usr/share/dnf5/repos.d, see repository configuration moves to /usr.
Failure and recovery
Section titled “Failure and recovery”- Download-stage failure: read the error (dependencies, third-party sources, keys), fix the cause and download again; do not retry blindly.
- Install-stage failure: restore a bootable system first, then talk about finishing the upgrade; the rescue kernel and booting the old kernel are covered in Troubleshooting a failed upgrade.
- Something is off after the upgrade: confirm the version in
/etc/os-releaseanddnf repolistbefore deciding whether the upgrade is incomplete or the new release behaves differently.
Related pages
Section titled “Related pages”- Backup and restore — what to back up before upgrading
- Fedora 45: changes, download and upgrade — release status and change list
- Upgrade between Fedora releases — the mechanism, supported paths and unsupported methods
- Troubleshooting a failed upgrade — locating and recovering after a failure
- Fedora repositories and dnf5 — repository locations and syntax after the upgrade
- Fedora security updates and advisories — signature checking and updates
- Official: Upgrading Fedora using the DNF system upgrade