Traditional way to upgrade Fedora 25 via DNF utility
Fedora 25 was out on November 22, 2016 after usual delay. Fedora is free, leading-edge operating system sponsored by RedHat and maintained by Fedora community.
We have already covered in our previous article Fedora 25 upgrade via Gnome software.
Here i’m going to show you, usual upgrade method via DNF utility.
Useful Fedora 25 Articles
- Fedora 25 Installation steps with screenshots
- What’s new in Fedora 25
- Top things to do on Fedora 25
- Install LAMP on Fedora 25
- Install LEMP on Fedora 25
Back up your system
Make sure your system got backup before initiating upgrade, either deja-dup tool or manual backup such as copying your important data’s to external hard disk, pen drive.
2) Upgrade will take time based on your Internet connection and package which you have installed on your box.
Make your system upto date
Make sure your system upto date before initiating upgrade by firing the below command on your terminal. This will upgrade your current system packages to latest version.
[Update system upto date] $ sudo dnf upgrade --refresh
Disable Third Party Repos As per FedoraMagazin page many users faced third party repo conflict error. So, i advise users to disable Third party repo’s before firing
dnf-plugin-system-upgrade command. Mainly the conflict occur with
RPMFusion Repo and i didn’t face any issue with other third party repos, even though disable all other third party repo too, we can enable later.
[Disable RPMFusion Repo] $ sudo dnf config-manager --set-disabled rpmfusion-free $ sudo dnf config-manager --set-disabled rpmfusion-nonfree $ sudo dnf config-manager --set-disabled rpmfusion-free-updates $ sudo dnf config-manager --set-disabled rpmfusion-nonfree-updates
Install the DNF plugin
Install the DNF plugin by firing the below command on terminal
[Install the DNF plugin] $ sudo dnf install dnf-plugin-system-upgrade
Initiate the update with DNF
Initiate the update with DNF by firing the below command’s on terminal
[Initiate the update with DNF] $ sudo dnf system-upgrade download --releasever=25 or [Force upgrade] $ sudo dnf system-upgrade download --releasever=25 --allowerasing
The above command will be download all of the upgrade packages for your machine locally to prepare for the upgrade.
--best :Adding the best flag will cancel the upgrade if an upgraded package cannot be upgraded because of a dependency issue.
--allowerasing :Adding the allowerasing flag will remove the dependency issue package s and perform the upgrade further.
Note : Try first command and if you face any issue, then no other option except second command. This will take time because need to download lots of packages This is time to have a cup of coffee.
Reboot and upgrade
Once you have downloaded all the upgrade packages, now your system will be ready for Fedora 25 upgrade. Just fire the below command on your terminal, this will reboot your system with Fedora 24 kernel, after the kernel screen, it will start the upgrade. Again its coffee time for you.
[Reboot and upgrade] $ sudo dnf system-upgrade reboot
Wow amazing, will play some times and update you the feedback. Will come with Fedora 25 workstation installation steps with screenshot, Please stay tune with 2daygeek for Latest LINUX TIPS & TRICKS…)