Upgrading Fedora
(2019-03-18)
Problem
I want to update Fedora to another version.
In General
It is recommended to upgrade to the next version and not skip versions.
Single-hop upgrades (27->28) are supported; double-hop upgrades (26->28) are supported for 30 days after the initial release, but in the majority of cases double-hop upgrades will probably work most of the time.
Fedora 27 -> 28
Ensure that the OS is as up-to-date as of now:
# dnf upgrade --refresh
Install the dnf plugin:
# dnf install dnf-plugin-system-upgrade
Stage the upgrade:
# dnf system-upgrade download --releasever=28
If issues are detected, you can try adding the --allowerasing flag to the command above; it will then erase RPMs that it cannot upgrade and conflict with the requested upgrade.
Perform a upgrade reboot:
# dnf system-upgrade reboot
This will take some time, but when the system comes back you should be running the requested upgrade version.