This guide shows you 4 ways to upgrade Fedora 17 to Fedora 18, but official recommended way is using tool called FedUp (FEDora UPgrade). Please note that Preupgrade tool is replaced by FedUp tool and it is not available since Fedora 17. FedUp is the only recommended way to Upgrade your fedora system. This upgrade procedure works for both Desktop as well as Server up-gradation. You may visit to know more about FedUp (Fedora Updater) tool at https://fedoraproject.org/wiki/FedUp.
Up-gradation Pre-requisites and Procedures:
- Please take important data backup before upgrading your existing Fedora 17 Operating system.
- All the commands mentioned in this article need to be executed using root user.
- Upgrade Fedora 17 with YUM.
- Install / Upgrade FedUp tool.
- Enable SELinux Permissive mode.
Method 1: Clean Install
Clean Install always be preferred method for many people and it works 100% correctly. If you are looking for clean Fedora 18 installation, then check out the following article that describes a Fedora 18 basic installation guide with screenshots.
Method 2: FedUp (Fedora Updater)
Upgrade Fedora 17 with FedUp command, this will install and upgrade latest packages with kernel as well. During the upgrade process latest kernel got installed and the system needs reboot. FedUp is the new tool and it is the only official recommended way to Upgrade your fedora system now on.
# yum update # yum -y update # yum clean all # reboot
Next, install the latest FedUp tool.
# yum install fedup
Once FeedUp tool installed, run the command and point it to Fedora 18 Network install. We enabled the logging, so if anything goes wrong check for errors in the log and correct it.
# fedup-cli --network 18 --debuglog fedupdebug.log
Once the upgrade process prepared, it will asked you to reboot the system.
If reboot succeed, a new Entry added to Grub Menu. Select the System Upgrade (fedup) from the boot menu. The upgrade can take bit longer time. Once upgrade completes, you can log into Fedora 18 system.
Method 3: Yum Upgrade
This method is for only experience users and it involves manual steps. This method uses old YUM Preupgrade tool, now it is not available in latest Federa 18/17. Here we are using YUM tool that simple updates your Fedora 17 packages from Fedora 18 repos.
# yum update # yum clean all
Next, import and install the new Fedora 18 Public Key with the help of the following command.
# rpm --import https://fedoraproject.org/static/DE7F38BD.txt
Set SELinux to Permissive Mode. The Permissive mode required for upgrade, because during upgrade process several packages attempt to create users and groups. If you not use this mode, you may end up with errors in yum update.
# setenforce Permissive
Upgrade all the packages by syncing your Fedora 17 to Fedora 18.
# yum --releasever=18 --disableplugin=presto distro-sync
Due to an upgrade rpm queries (rpm -qa) will not work, so rebuild rpm database like this.
# rpm --rebuilddb
Method 4: Fedora Upgrade Script
Upgrade Fedora is a small shell script that updates next version using Yum Upgrade, means the script only upgrades from Fedora 17 -> Fedora 18. You cannot upgrade older version – for example, upgrade from Fedora 16 to Fedora 18 with this script.
Please note that this is not the official supported and recommended way to upgrade Fedora, means it is not tested by Fedora QA team. The script is available for download from the GitHub.
Latest posts by Ravi Saive (see all)
- How to Install GUI (Gnome 3) Using CD/DVD on RHEL/CentOS 7 - December 18, 2014
- Wine 1.7.33 (Development Version) Released – Install in RedHat and Debian Based Systems - December 13, 2014
- How to Enable RPMForge Repository in RHEL/CentOS 7.x/6.x/5.x - December 12, 2014