How To Upgrade From Fedora 16 To Fedora 17 (Desktop & Server)

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Mon, 2012-06-04 15:23. :: Fedora | Desktop

How To Upgrade From Fedora 16 To Fedora 17 (Desktop & Server)

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 06/04/2012

This article describes how you can upgrade your Fedora 16 system to Fedora 17. The upgrade procedure works for both desktop and server installations.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

The commands in this article must be executed with root privileges. Open a terminal (on a Fedora 16 desktop, go to Applications > System Tools > Terminal) and log in as root, or if you log in with a regular user, type

su

to become root.

Please make sure that the system that you want to upgrade has more than 600 MB of RAM - otherwise the system might hang when it tries to reboot with the following message (leaving you with an unusable system):

Trying to unpack rootfs image as initramfs...

 

2 Upgrading To Fedora 17 (Desktop)

First we must upgrade the rpm package:

yum update rpm

Then we install the latest updates:

yum -y update

Next we clean the yum cache:

yum clean all

If you notice that a new kernel got installed during yum -y update, you should reboot the system now:

reboot

(After the reboot, log in as root again, either directly or with the help of

su

)

Now we come to the upgrade process. We can do this with preupgrade (preupgrade will also take care of your RPMFusion packages).

Install preupgrade...

yum install preupgrade

... and call it like this:

preupgrade

The preupgrade wizard will then start on your desktop. Select Fedora 17 (Beefy Miracle). Afterwards the system is being prepared for the upgrade.

At the end, click on the Reboot Now button. From the boot menu, select Upgrade to Fedora 17 (Beefy Miracle).

During the reboot, the upgrade is being performed. This can take quite a long time, so please be patient.

Afterwards, you can log into your new Fedora 17 desktop.

 

3 Upgrading To Fedora 17 (Server)

First we must upgrade the rpm package:

yum update rpm

Then we install the latest updates:

yum -y update

Next we clean the yum cache:

yum clean all

If you notice that a new kernel got installed during yum -y update, you should reboot the system now:

reboot

(After the reboot, log in as root again, either directly or with the help of

su

)

Now we come to the upgrade process. We can do this with preupgrade.

Install preupgrade...

yum install preupgrade

... and call it like this:

preupgrade-cli

It will show you a list of releases that you can upgrade to. If all goes well, it should show something like Fedora 17 (Beefy Miracle) in the list:

[root@server1 ~]# preupgrade-cli
Loaded plugins: blacklist, langpacks, whiteout
No plugin match for: rpm-warm-cache
No plugin match for: remove-with-leaves
No plugin match for: auto-update-debuginfo
Loaded plugins: langpacks, presto, refresh-packagekit
please give a release to try to pre-upgrade to
valid entries include:
   "Fedora 17 (Beefy Miracle)"
[root@server1 ~]#

To upgrade, append the release string to the preupgrade-cli command:

preupgrade-cli "Fedora 17 (Beefy Miracle)"

Preupgrade will also take care of your RPMFusion packages, so all you have to do after preupgrade has finished is to reboot:

reboot

From the boot menu, select Upgrade to Fedora 17 (Beefy Miracle).

During the reboot, the upgrade is being performed. This can take quite a long time, so please be patient. Afterwards, you can log into your new Fedora 17 server.

 

4 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by DaveB (not registered) on Fri, 2014-12-19 03:24.
This info is obsolete because Fedora has deleted the mirrors :(
Submitted by JIm Howard (not registered) on Thu, 2012-09-20 00:35.

Apparantly, 'preupgrade' does not employ the proxy settings you may have for "yum", so you may need to specify them with envoronment variables.  My work environment required this.  I had to:

# export http_proxy=http://proxy.mysite.mycompany.com:1234
# export https_proxy=${http_proxy}

and then re-run preupgrade.

Submitted by Simon Kong Win Chang (not registered) on Sun, 2012-07-08 05:22.

 you should probably have a warning of the prerequisite somewhere as well

 Your system cannot be upgraded with preupgrade if any of the following apply:

  1. If your /boot partition is on RAID. See bug 500004.
 
 from http://fedoraproject.org/wiki/PreUpgrade
 
Submitted by Anonymous (not registered) on Thu, 2012-06-07 02:54.

The upgrade procedure is nice but Fedora 17 is the Desktop counterpart to RedHat Enterprise Linux (which is the server distribution). 

 By definition there is no Fedora server. It is the testing grounds for what will be in the next RedHat server (RHEL) and has server packages available to it, but is itself meant to be a desktop distribution.

 I do not mean to split hairs but the title is misleading, and users may get confused when they try to figure out if they have downloaded the desktop or server version of Fedora.


Again thanks for the write up, it is good.