Sometimes simple things become hard problems. This happened to me when I discovered that my Fedora 18 OS was obsolete (very old indeed) and I tried to upgrade it to the Fedora 20 version.
Fedora 18 doesn’t support the automatic OS upgrade so I had to spend some hours to find information on Internet and create the right DIY solution for my case. At the end of my little (sic!) research I discovered that I was able not only able to upgrade the PC to Fedora 20 but I also found a good “trick” to upgrade to the latest Fedora 21 following in just a couple of steps with the help of fedup and some other escamotages.
This is how I succeed…
First, you have to open a Terminal and type:
but you will immediately leave the Fedora GUI and so it’s better if you write the below commands on an -old style, paper notepad- to be sure to have all the right information in you hands and correctly manage the upgrade from Fedora 18 to Fedora 20
sudo su -
yum install fedup
fedup-cli --network 20 --nogpgcheck
It’s better to add –nogpgcheck because often you are not able to complete your upgrade for the “old”, “bad saved” gpg key in your system.
Now, at the boot-up menu (GRUB 2 menu) you have to choose “System Upgrade (Fedup)”.
Then just to be sure you really have an up to date OS, in Terminal, type:
If you have problems with one or more of your “old” repositories don’t forget to deconfigure them. In my case I had to launch this command line in Terminal due to skip an old repository and proceed with the upgrade:
yum-config-manager --save --setopt=home_moritzmolch_gencfsm.skip_if_unavailable=true
At this point, to upgrade from Fedora 20 to Fedora 21 you have to open (again) the Terminal and type:
fedup --network 21 --product=workstation --nogpgcheck
fedup --network 21 --product=server --nogpgcheck
(if your Fedora version is the server one)
fedup --network 21 --product=cloud --nogpgcheck
(for the Fedora cloud edition for generic virtual machines or Container)
Take it easy and go to bed for a long snap because, in my case, the download took some hours as for 2,577 files to be upgraded…
At the end, as before, you have to Reboot and select “System Upgrade (Fedup)” at the boot-up menu (GRUB 2 menu) and all the necessary files will be installed. Again, take a good book to read while you wait the installation.
Good luck and remind you MUST backup all your data before you start any upgrade because unforeseen risks are always around the corner!