Upgrade from Fedora 22 to Fedora 23 or higher release using DNF

DNF system upgrade is recommended upgrade method for Fedora 21 and later releases. DNF is a kind of successor for FedUp (FEDora UPgrader), which is now obsolete, not supported any more by Fedora Project and should not be used any longer.

In this article we upgrade from Fedora release 22 (Twenty Two) to Fedora release 23 (Twenty Three) or higher release in few simple steps, using DNF system upgrade method.


1. Back up your files

Note: Each upgrade is a pretty risky operation, backup your files before you proceed.

2. Update your system using DNF

[root@fedora ~]# dnf update --refresh

Reboot, when update is finished:

[root@fedora ~]# reboot

3. Install DNF system upgrade plugin package

[root@fedora ~]# dnf install dnf-plugin-system-upgrade

4. Download the updated packages

[root@fedora ~]# dnf system-upgrade download --releasever=23

Note: Since we are updating to Fedora release 23 (Twenty Three), we set releasever to 23, but you can update directly to Fedora release 24 (Twenty Four) by means of setting releasever to 24.

Note: If you encounter package conflicts:

Error: package ffmpeg-libs-2.4.3-2.fc21.x86_64 requires libcdio_cdda.so.1()(64bit), but none of the providers can be installed.
package ffmpeg-2.4.3-2.fc21.x86_64 requires libavcodec.so.56()(64bit), but none of the providers can be installed.
package gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64 requires libcdio.so.15()(64bit), but none of the providers can be installed.
package gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64 requires libcdio.so.15()(64bit), but none of the providers can be installed
(try to add '--allowerasing' to command line to replace conflicting packages)

…execute download command with allowerasing parameter:

[root@fedora ~]# dnf system-upgrade download --releasever=23 --allowerasing

5. Launch DNF upgrade process

The below command will reboot your system immediately:

[root@fedora ~]# dnf system-upgrade reboot

Fedora will boot again using the same kernel and upgrade process will start during boot. After the upgrade, the system will restart once again with new kernel. The whole process takes approximately 60 minutes.

Verify, that the system was upgraded to the new release:

[root@fedora ~]# cat /etc/fedora-release 
Fedora release 23 (Twenty Three)

Share on: Share on FacebookShare on Google+Tweet about this on TwitterShare on StumbleUponShare on LinkedInPin on PinterestBuffer this pageShare on TumblrDigg thisFlattr the authorShare on RedditShare on VKShare on Yummly
Liked it? Take a second to support tuxfixer.com on Patreon!
Hadoop Developer Training

Leave a Reply

Name *
Email *