FEDORA-UPGRADE(8)
π FEDORA-UPGRADE β the glow-up page π
okay bestie, welcome to fedora-upgrade, section 8 of the manuals (that's the "sysadmin commands" shelf, very main character of it). This is the tool that literally holds your hand and guides you through upgrading Fedora to the next major version using dnf. β¨
πΈ SYNOPSIS πΈ
fedora-upgrade [--help] [--tmpfs=SIZE] [--upgrade-to=VERSION]
π¦ DESCRIPTION π¦
The script fedora-upgrade is out here trying to automate all the steps you'd need for a dnf-upgrade from one major version to the next one. Like, no cap, it does the whole run of show for you. π
Here's the itinerary β the steps <rainbow>fedora-upgrade</rainbow> actually does:
- Display usual warnings. (yes, the scary ones, but she's gentle about it π )
- Check dependencies.
- Resolve old
.rpmsaveand.rpmnewfiles before upgrading (if there are some). - Download and import RPM GPG keys.
- Run
dnf --releasever=$TOVER distro-sync. - Install missing packages from group Minimal Install.
- Resolve old
.rpmsaveand.rpmnewfiles after upgrade. - Reset priorities of services.
Now the options, gorgeous:
--tmpfs=SIZEβ when you're doing an online upgrade and your/var/cache/dnfis looking a little β¨crampedβ¨, this option mounts/var/cache/dnfastmpfswith the size you specify. The SIZE can be anything that themountcommand accepts. E.g."3G". The mount point gets unmounted whendnffinishes. Clean up after yourself, queen. π§-u=VERSION,--upgrade-to=VERSIONβ by default,fedora-upgradeupgrades to the next version. I.e. from29to30. But you can specify which version you're going to upgrade to and jump from28to30. Be warned though: this is hardly tested and there can be some issues. π The VERSION is a number or the string"rawhide".
fr fr, that-u/--upgrade-toskip-a-version thing is highkey not battle-tested. Proceed with the energy of someone who has backups. π
π SEE ALSO π
dnf(8)rpmconf(8)fedora-remove-old-gpg-keys(8)https://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager
π BUGS π
If you experience some problem (and bestie, we've all been there), please report it at:
π AUTHOR π
Miroslav SuchΓ½ <msuchy@redhat.com> β icon, legend, the moment. π«Ά
and that's a wrap on fedora-upgrade, page FEDORA-UPGRADE(8), dated 08/19/2026. go forth and upgrade, you absolute star βπ
π¦ where this page comes from
- fedora 43: fedora-upgrade 45.1-1.fc43 Β· GPL-2.0-only
- fedora 44: fedora-upgrade 45.1-1.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms