Friday, June 24, 2016

How To Upgrade Fedora 23 to Fedora 24

How To Upgrade Fedora 23 to Fedora 24

Fedora 24 officially released on 21-JUNE-2016 and You'll likely want to upgrade your system. Here I'll show you how to upgrade Fedora 23 to Fedora 24 using DNF system upgrade plugin.

1. Upgrade and back up your system

Before doing anything, It's good habit to back-up your system and ensure that you have the latest software running on your Fedora 23 .. You can upgrade all packages to its latest version by running command shown below in your terminal..

sudo dnf upgrade --refresh
Common issues in upgrading Fedora 23 to 24 :
According to official Fedora 24 release notes... "Rpmfusion packages block Fedora upgrade".

At the time of release, rpmfusion packages were blocking Fedora upgrades with a message similar to:

Error: Package a52dec-0.7.4-19.fc24.x86_64.rpm is not signed

This is a third-party repository issue outside of Fedora control. You can read more about possible solutions in this blog post. The repository maintainers are supposedly working on signing their repo, so that the issue disappears in the future.

2. Install the DNF plugin

Next, open a terminal and type the following command to install the plugin..

sudo dnf install dnf-plugin-system-upgrade

3. Start upgrading your system..

Now that your system is up-to-date, backed up, and you have the DNF plugin installed, you can begin the upgrade by using the following command in a terminal

sudo dnf system-upgrade download --releasever=24

You can also include the --allowerasing option which helps to remove all packages that may break the upgrade process as a result of certain packages not having updates, retired packages or even broken dependency issues.

5. Reboot and upgrade

Once the previous command finishes downloading all of the upgrades, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal

sudo dnf system-upgrade reboot

This will reboot your machine immediately. The system should boot again info Fedora using the same kernel, but this time, the upgrade process appears on the boot screen.

Further Information

For more detailed instructions on using dnf for upgrading, including a breakdown of other flags, check out the DNF system upgrade wiki article. This page also has frequently asked questions you may have during an upgrade and also don't forget to check known issues.

Happy Upgrades!

DNF system upgrade plugin develpment page Github. If you find any issue with this plugin open an issue on Github.