Red Hat’s yum aka Yellow Dog Updater has been kicking around for eons but it is now deprecated and has been officially replaced by dnf aka Dandified Yum. Seriously, there were times when we didn’t go near yum because it was so awfully flaky and unable to resolve dependencies. Over the years we saw it improve immensely and performing on par with Debian‘s Aptitude. So farewell yum, you’ll be missed.
For an in-depth guide about the changes to Red Hat‘s updating tool, check out this document that goes into more detail about replacing yum with dnf.
This also means that we no longer need to use FedUp. Oh well. It was fun to say while it lasted.
For the purpose of this exercise, we’re upgrading from Fedora 22 to Fedora 23, but if you do need to know what version of Fedora you’re using, the following command will do this for you:
Before we start, it’s also a good idea to update your system first, so start by updating Fedora using dnf.
It should also go without saying that you should take a backup before executing a major update/upgrade, but I digress.
Kicking off the Upgrade
Once that’s complete, reboot your machine, log back in, and start the upgrade process by running the following:
Next, install dnf plugin upgrade by installing dnf plugin system upgrade. This is what is actually replacing FedUp.
dnf install dnf-plugin-system-upgrade
Once that is complete, run the full system upgrade:
dnf system-upgrade download --releasever=23
This will run for quite awhile, fetching and upgrading packages so the time it takes will depend on how many packages you actually have installed on your workstation. My sad I3 Latitude took a good 2 hours, but once it was done, we had a shiny new Fedora 23 to log in to. Pretty uneventful upgrade overall and no issues to report.