Upgrade Fedora 20 to Fedora 21 using Fedup

0

One of the best things I love from Linux, is the fact that I don’t need to reinstall the system once a new version is out, in my case the chosen distribution is Fedora Linux. I’ve been using Fedora since it was ‘Fedora Core 3′, that was released about 9 / 10 years ago. The last installation I did was from Fedora 18, and since then I’ve upgarded from 18 to 19, 19 to 20 and now from 20 to 21.

So, today I will show you the best way to upgrade Fedora 20 to Fedora 21 using Fedup. But wait, what is Fedup? Fedup means Fedora Upgrader, it’s the name of the upgrade system utilized since Fedora 18 and newer versions. If you do it in the right way, you will be able to upgrade your system and keep the same configuration and files from the old one. Let’s begin.

fedora 21

Upgrade Fedora using Fedup

Before start, remember to make a backup of your most important files and directories, in case something goes wrong.

Open a terminal, switch to root and type:

 yum clean metadata yum -y update yum -y install fedup

Now disable all non-native/3rd party repositories like  adobe, dropbox, virtualbox, google chrome, etc. Open another terminal and run this command:

 gpk-prefs

It will allow you to disable all unecessary repos.

In my case, I was going to upgrade my ‘workstation’ installation, but you can do the same for ‘cloud’, ‘server’ or ‘nonproduct’, depending which Fedora version you are using.,

Let’s suppose you will chooose workstation, same as me. As root, run this command:

 fedup --network 21 --product workstation

Depending on the installed package and your internet speed it will take more or less time, in my case it was all ready within 10-15 minutes, but it may take more if you have a slow connection.

Very important: you will have to be very careful to watch for any ‘DANGER‘ messages, because those must be fixed before applying the updates, otherwise your system may not boot properly. Once you fix this errors, then ran the process again until it completes:

 fedup --network 21 --product workstation

Once you ensure fedup downloaded all the required packages for the upgrade, you can reboot your Fedora Linux, and then choose the option ‘fedup’ that will appear in the grub menu. Once you hit that option, you’ll see that all downloaded packages will be installed into your system.

Once that is done, the system should boot normally, but there is one final step to make the final switch to Fedora 21.  Run this commands as root:

 yum makecache fast yum distro-sync yum clean metadata yum -y update reboot

Now you should be able to boot properly using Fedora 21.

After upgrade

It’s recommended to update the desktop software you are using (xfce, kde, gnome, etc), you can do this by running this commands:

GNOME

 dnf -y install @gnome-desktop

KDE

 dnf -y install @kde-desktop

XFCE

 dnf -y install @xfce-desktop

LXDE

 dnf -y install @lxde-desktop

Hope this guide can help you to upgrade from fedora 20 to fedora 21 using fedup.

 

You might also like More from author