Julio's Blog



Upgrading to Fedora 24.

In today post I will show you how to upgrade to Fedora 24 from Fedora 23.

The first thing that we are going to check the current version of Fedora and also apply any patches to the system:

[email protected]:[~]#cat /etc/redhat-release  
Fedora release 23 (Twenty Three)  

[email protected]:[~]#dnf update -y

After this we will refresh the system:

[email protected]:[~]# dnf upgrade --refresh  
RPM Fusion for Fedora 23 - Free - Updates                                                                                                                     13 kB/s | 1.3 kB     00:00  
RPM Fusion for Fedora 23 - Nonfree - Updates                                                                                                                  11 kB/s | 1.3 kB     00:00  
Open source multiplatform video transcoder                                                                                                                   239 kB/s |  97 kB     00:00  
RPM Fusion for Fedora 23 - Free                                                                                                                              1.3 MB/s | 457 kB     00:00  
RPM Fusion for Fedora 23 - Nonfree                                                                                                                           652 kB/s | 156 kB     00:00  
google-chrome                                                                                                                                                4.1 kB/s | 3.4 kB     00:00  
Dependencies resolved.  
=============================================================================================================================================================================================
 Package                                       Arch                                     Version                                              Repository                                 Size
=============================================================================================================================================================================================
Skipping packages with broken dependencies:  
 clusterssh                                    noarch                                   4.07-1.fc23                                          updates                                   147 k
 nss-sysinit                                   x86_64                                   3.24.0-1.3.fc23                                      updates                                    58 k
 nss-tools                                     x86_64                                   3.24.0-1.3.fc23                                      updates                                   495 k

Transaction Summary  
=============================================================================================================================================================================================
Skip  3 Packages

Nothing to do.  
Complete!  

Now we will install the DNF update plugin:

[email protected]:[~]#dnf install dnf-plugin-system-upgrade

Now that everything is upgraded and the upgrade plugin is installed we are going to start the upgrade process:

[email protected]:[~]#dnf system-upgrade download --releasever=24 -y 

… redacted output …

Complete!  
Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.  
The downloaded packages were saved in cache until the next successful transaction.  
You can remove cached packages by executing 'dnf clean packages'.  

If you have a dependency problem you could pass the switch --allowdependency to the previous command.

Now that all the packages are downloaded, the next step on the process will be to reboot the system, this will trigger the FedUp tool to finish the upgrade process.

[email protected]:[~]# dnf system-upgrade reboot

Now the system will restart and the fedup tool will complete the upgrade. This process will take some time.

After the reboot, ssh and check the current version:

[email protected]:[~]#cat /etc/redhat-release  
Fedora release 24 (Twenty Four)  

All set, enjoy your Fedora 24!




Julio is a Principal Cloud Architect at Red Hat working on Linux, Virtualization, Cloud (OpenStack), and Containers.Julio was born in Cuba but now calls home Austin, TX.