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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Wed, 2011-11-09 10:39. :: Fedora | Desktop

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

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 11/08/2011

This article describes how you can upgrade your Fedora 15 system to Fedora 16. 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 15 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 16 (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 16 (Verne). Afterwards the system is being prepared for the upgrade.

At the end, click on the Reboot Now button.

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 16 desktop.

 

3 Upgrading To Fedora 16 (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 16 (Verne) 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 16 (Verne)"
[root@server1 ~]#

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

preupgrade-cli "Fedora 16 (Verne)"

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

reboot

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 16 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 Anonymous (not registered) on Wed, 2012-02-01 17:38.

i ran preupgrade multiple times.

first time... it seemed to download what's needed, then i rebooted and nothing new happened.

the second time... computer seemed frozen at start-up, i pressed some key and it rebooted. still... i was with the old fedora 15.

then i had patience... for the third time... and didn't press anything when the computer rebooted... and yeees... it worked... after a while it began installing software for fedora 16. it took a few hours... but you know what they say "patience is a virtue" :D

 thank you for this guide! fedora rocks!

Submitted by Anonymous (not registered) on Fri, 2011-11-11 15:39.

I used http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum and the upgrade went perfectly without a long downtime. Preupgrade needs too much downtime.

Submitted by Kaymon (not registered) on Thu, 2011-11-10 13:33.
It worked for me without any error.I use Fedora in vbox,everything was fine.
Submitted by cyberwiz (registered user) on Wed, 2011-11-09 20:45.

Before the start I had 620MB RAM available. The preupgrade process went fine and all files were downloaded. However after the reboot I only got blinking prompt. On the second boot I got my old F15 system back.

Wonder if I should repeat the steps...? 

 

Dim

Submitted by Bryce (not registered) on Thu, 2011-11-10 20:50.

This didn't work for me either. preupgrade still has an old bug in it where it won't allow you to upgrade if you have /boot in a RAID1 configuration.

 Also, I tried a manual upgrade with the DVD, and it hasn't worked for me at all. Grub seems to be looking for the wrong UUID. Same issue with a fresh install with both /boot in a RAID1 configuration, and with it not (while / and /home were RAID1).

 I'm very unhappy about this, and am thinking of dropping Fedora for something else at this point.

Submitted by Jonners (not registered) on Fri, 2012-05-04 11:02.

Well it mostly worked for me from 15 but I seem to have lost gcc and gcc-c++, which I had to get again manually.

 Ho hum

I expect to fnd more bits missing as I go along...:-)