Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

How To Upgrade From Fedora 10 To Fedora 11 (Desktop & Server)


This article describes how you can upgrade your Fedora 10 system to Fedora 11. 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 10 desktop, go to Applications > System Tools > Terminal:

2

) and log in as root, or if you log in with a regular user, type

su

to become root.

 

2 Upgrading To Fedora 11 (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:

3

Select Fedora 11 (Leonidas):

4

Afterwards the system is being prepared for the upgrade:

6

At the end, click on the Reboot Now button:

7

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

8

This is how your Fedora 11 desktop looks after the successful upgrade:

9

3 Upgrading To Fedora 11 (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 11 (Leonidas) in the list:

[root@server1 ~]# preupgrade-cli
Loaded plugins: blacklist, refresh-packagekit, whiteout
Loaded plugins: refresh-packagekit
please give a release to try to pre-upgrade to
valid entries include:
“Fedora 11 (Leonidas)”
“Rawhide”
[root@server1 ~]#

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

preupgrade-cli “Fedora 11 (Leonidas)”

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:

1

4 Upgrading Using Yum

In previous Fedora releases, it was possible to upgrade using yum (see chapter 2.2 on How To Upgrade From Fedora 9 To Fedora 10 (Desktop & Server)). However, this doesn’t work for the upgrade from Fedora 10 to 11 because the format of the mirrorlist has changed from a plain text list to an XML file in Fedora 11 which yum in Fedora 10 doesn’t understand. It is likely that you will see an error like this if you try to upgrade using yum:

[root@server2 ~]# yum -y update
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. </metalink>/
removing mirrorlist with no valid mirrors: //var/cache/yum/updates/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: updates
[root@server2 ~]#

Therefore, please use preupgrade to upgrade to Fedora 11!

 

  • Fedora: http://fedoraproject.org/

 

Comments

comments