Verified and Tested 11/12/15
In this article, we will go over how to upgrade Fedora 22 to Fedora 23 utilizing DNF.
– You will need root privileges.
– A Fedora 22 cloud server. If you do not already have a server, check out our full line-up of scalable and reliable virtual private servers.
Before we begin, let’s confirm the version of Fedora we are running with the following command:
Your output should look like this:
Fedora release 22 (Twenty Two)
Next we will update the repository metadata and ensure we have the latest package versions on the system:
dnf upgrade -y
Then download and install the Fedora system upgrade tool:
dnf install dnf-plugin-system-upgrade -y
It’s now time to download all the Fedora 23 upgrade packages that we will need for the next step:
dnf system-upgrade download --releasever=23 -y
If you utilize packages from 3rd party repositories that have not published updates associated with the release, then the upgrade may fail. In this case, you will not be able to continue with the upgrade unless you issue the following command:
dnf system-upgrade download --releasever=23 --allowerasing
*Warning: This will remove the packages that have unsatisfied dependencies. Be sure to review the output to determine which packages will be removed and confirm if it acceptable to you.
Starting The Upgrade
Once the packages have been downloaded, you will be prompted to start the upgrade with the following command:
dnf system-upgrade reboot
The system will now reboot and begin the upgrade. You can monitor the progress from the Cloud Control Panel VNC console. See HERE for instructions on how to access the VNC console. Now just sit back and wait for the upgrade to complete. When it is finished, the system will reboot once more, and you will now be running Fedora 23! You can verify by running the same command as before:
Fedora release 23 (Twenty Three)
That’s it. Enjoy!