Upgrading From Fedora 21 to Fedora 23 with fedup


The warnings have been appearing, Fedora 21 is loosing support on December 1, 2015 due to the recent release of Fedora 23. So now is the time to upgrade. Well fear not the upgrade is simple with the application fedup.  We just need a good Internet connection and a bit of patience. So let’s get started.

Preparing for the Upgrade

So we are now ready to start the process. On your Fedora 21 system open up a terminal session.

Update current system

Run sudo yum -y update to get the latest updates. If there is a kernel update reboot to make the new kernel effective.

Backup Your System

Find and review “unused” packages

You can find packages not required by other packages with the tool package-cleanup from the yum-utils package:

$ sudo yum -y install yum-utils; package-cleanup --leaves

These packages could be candidates for removal, but check to see whether you use them directly or if they are used by applications not backed by rpm packages. Remove them with yum remove package-name-and-version.

Find and review “lost” packages

You can find orphaned packages (ie packages not in the repositories anymore) with:

$ sudo package-cleanup --orphans

This will also show packages which have been partially uninstalled but where the “%postun” script failed.

Install fedup Tool

Now it is time to install the tool that will handle the work, fedup. From the terminal type

$ sudo yum -y install fedup

Now your system is fully up-to-date, start the upgrade using the following command:

$ sudo fedup --network 23

This command will tell FedUp to download all the appropriate packages from the Fedora repositories, and prep your system for the upgrade.

Reboot and upgrade

$ sudo dnf system-upgrade reboot

The system will reboot and start the upgrade process, this will take time to complete.


Congratulations! you are now running the latest and greatest Fedora release, now how about a bit of cleanup. First we should clean out the cache. From a terminal type

$ sudo dnf clean all


With a few simple steps we are now running Fedora 23 and have jumped into the latest Fedora release with many new features to explore!

One Response to “Upgrading From Fedora 21 to Fedora 23 with fedup”

  1. RE says:

    Thank you for the post. It works exactly as stated.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.