| DNF4-SYSTEM-UPGRADE(8) | dnf-plugins-core | DNF4-SYSTEM-UPGRADE(8) |
dnf4-system-upgrade - DNF system-upgrade Plugin
DNF system-upgrades plugin provides three commands: system-upgrade, offline-upgrade, and offline-distrosync. Only system-upgrade command requires increase of distribution major version (--releasever) compared to installed version.
dnf system-upgrade is a recommended way to upgrade a system to a new major release. It replaces fedup (the old Fedora Upgrade tool). Before you proceed ensure that your system is fully upgraded (dnf --refresh upgrade).
The system-upgrade command also performes additional actions necessary for the upgrade of the system, for example an upgrade of groups and environments.
dnf system-upgrade download --releasever VERSION [OPTIONS]
dnf system-upgrade reboot
dnf system-upgrade reboot --poweroff
dnf system-upgrade clean
dnf system-upgrade log
dnf system-upgrade log --number=<number>
dnf offline-upgrade download [OPTIONS]
dnf offline-upgrade reboot
dnf offline-upgrade reboot --poweroff
dnf offline-upgrade clean
dnf offline-upgrade log
dnf offline-upgrade log --number=<number>
dnf offline-distrosync download [OPTIONS]
dnf offline-distrosync reboot
dnf offline-distrosync reboot --poweroff
dnf offline-distrosync clean
dnf offline-distrosync log
dnf offline-distrosync log --number=<number>
dnf system-upgrade reboot does not create a "System Upgrade" boot item. The upgrade will start regardless of which boot item is chosen.
The DNF_SYSTEM_UPGRADE_NO_REBOOT environment variable can be set to a non-empty value to disable the actual reboot performed by system-upgrade (e.g. for testing purposes).
Since this is a DNF plugin, options accepted by dnf are also valid here, such as --allowerasing. See dnf(8) for more information.
The fedup command is not provided, not even as an alias for dnf system-upgrade.
Upgrading from install media (e.g. a DVD or .iso file) currently requires the user to manually set up a DNF repo and fstab entry for the media.
dnf --refresh upgrade
dnf system-upgrade download --releasever 26
dnf system-upgrade reboot
dnf system-upgrade log --number=-1
Bugs should be filed here:
For more info on filing bugs, see the Fedora Project wiki:
https://fedoraproject.org/wiki/Bugs_and_feature_requests
Please include /var/log/dnf.log and the output of dnf system-upgrade log --number=-1 (if applicable) in your bug reports.
Problems with dependency solving during download are best reported to the maintainers of the package(s) with the dependency problems.
Similarly, problems encountered on your system after the upgrade completes should be reported to the maintainers of the affected components. In other words: if (for example) KDE stops working, it's best if you report that to the KDE maintainers.
dnf(8), dnf.conf(5), journalctl(1).
https://github.com/rpm-software-management/dnf-plugins-core
Will Woods <wwoods@redhat.com>
Štěpán Smetana <ssmetana@redhat.com>
See AUTHORS in your Core DNF Plugins distribution
2014, Red Hat, Licensed under GPLv2+
| June 20, 2025 | 4.10.1 |