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

Version 1.0
Author: Falko Timme
Last edited 06/12/2009

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:

) 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:

Select Fedora 11 (Leonidas):

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:

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

 

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:

 

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!

 

5 Links

Share this page:

22 Comment(s)

Add comment

Comments

From: at: 2009-06-12 18:00:06

@ Falko,

Thank you for this easy going update and perfect tut.

Robert

From: kaendesmut at: 2009-06-18 10:03:14

I don't know where i'm failing, because i followed your tut and i can't make it work. I have fedora in one partition space and kubuntu in the other; kubuntu have grub's control. Does this something to do with my issue?

From: at: 2009-10-31 14:46:01

I'm still thinking if I want to do this...

 I've got a headless webserver.  I don't use a gui - ssh only.

 It is possible for me to use a vterminal through my host but even then I can't remember if the login is terminal only - no gui.  I would much rather use terminal.

 Do you recommend vterminal??

 How risky is this?  I don't have any repo add ons... no fancy devel stuff.  I do have a few progs that where complied from source (i.e., courier-imap) that I would not want broken.

 Is it worth it to upgrade to 11 right now or should I wait?  How long?

 Thanks!

From: alkr at: 2009-06-15 10:50:49

After reboot no package downloaded, nothing installed

From: at: 2009-06-16 11:31:50

does anybody know what to do with additional activated repositories like rpmfusion and liva? Should they be disabled (and perhaps any software from those repos be uninstalled)?

From: Lucélio at: 2009-06-16 21:03:14

Hi,

Unfotunately I followed all steps(Desktop) and "after the successful upgrade", got the F11 screen.   And was surprised when I tried to login in KDE environment.   I got this messages in a smal window in the up left corner, "kstartupconfig4 does not exist or fails. The error code is 127.   Check your installation".   Before the upgrade everything worked on F10, now I lost. I don't have the option of KDE, but still have GNOME.

And now?

From: Paul Hylander at: 2009-06-29 13:53:11

I also have the same problem - after upgrade to Fedora 11 (from 10 on x86_64).  I try to start up KDE (which worked fine before) and get a message "kstartupconfig4 does not exist of fails.  The error code is 127."

Any suggestions?

From: YB at: 2009-07-08 19:39:07

same problem here, upgraded from f10 from a live cd to f11 using the dvd

and got the same error

kstartupconfig4  does not exist of fails.  The error code is 127 check your installation

 and yum isn't working either...

 

From: Vo Beatdown at: 2009-07-23 20:50:46

I had this happen as well. I fixed it by removing the NessusClient RPM by issuing an "rpm -e NessusClient" command.  I'm amazed that fixed it up.

 

 

From: Anonymous at: 2009-11-22 02:12:32

 For me no Nessus package were installed. So that was not the problem. The solution I found here.

http://fcp.surfsite.org/modules/newbb/viewtopic.php?viewmode=flat&order=ASC&topic_id=86599&forum=12&move=next&topic_time=1258818260

 

 The only difference was that I have a 64 system, so the changes were done under /usr/lib64 instead of /usr/lib

 

From: Gustavo Ribeiro at: 2009-06-18 19:26:54

Is possible to upgrade from F9 to F11 directly?

 

From: Luiz Fogliato Junior at: 2009-06-24 22:08:33

Thanks for your POST, you help-me very much. My drive of DVD was broken and that was the way to install fedora 11 in my notebook without the disc.

From: dblackbeer at: 2009-06-26 20:44:38

When I try to run preupgrade the process fails and I got: Failed to fetch release info.

This could be caused by a missing network connection or a bad mirror.

What can I do?

 

Thanks

From: Anonymous at: 2009-06-28 06:59:44

i have the same problem :S

From: Ricky Zhou at: 2009-06-28 08:53:38

Hi, this was reported and fixed at https://bugzilla.redhat.com/show_bug.cgi?id=508439. Sorry for the inconvenience, and please feel free to email admin at fedoraproject dot org if you ever run into issues with missing files on our side.

From: Marcel Nijenhof at: 2009-06-28 09:29:06

This problem is solved. See:     https://bugzilla.redhat.com/show_bug.cgi?id=508439

From: K-G at: 2009-06-27 08:42:15

Used the above procedure to migrate F10 to F11.  When I did the update after the migrate it resulted in a major mix of modules. Afterwards I found out that the repros was not updated properly i.e. a mix of F10 and F11 repros, where Fedora update was still pointing at the F10 repro.

From: Arb at: 2009-07-14 04:32:33

I havn't tried it yet but i think yum upgrade to 11 works, when i put in mirrors like url for 11, i got back a plain txt list of mirrors

http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

 

is what is in the repo files, if yum looks up on fc10 in upgrade to 11

http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=x86_64

http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386

From: wikol at: 2009-07-14 14:04:26

I have started from the moment "The preupgrade wizard will then start on your desktop:", i.e. from the second screen shot in that article. As I had got a window poped up offering the upgarde I did follow it. Everything seemed ok. After rebooting, once I saw BIOS is loading, I have switched the pc off as it was late in the night. A few hours later I started it again to see hanging GRUB. I do not get now a choice to boot Windows, other F10 kernels, not to mention F11.

All I see at the bootom of the screen, after some BIOS lines, is : GRUB

but it looks like it does not load (I would then expect it to clear the screen from the BIOS messages plus perhaps changing the screen colour - it is still black, not blue)

From: Dawkins at: 2009-08-03 03:57:29

Hi, i'm new on Linux...was bored of gettin virus on Windows Vista so i've decided to migrate to Linux...theres my problem

 i'm trying to upgrade to Fedora 11 and i followed the tut and everything was alright till' i was there :

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 ~]#

  I didnt see the "Fedora 11 (Leonidas)"...so i typed the next command: preupgrade-cli "Fedora 11 (Leonidas)" ...and it ended up with this code error: UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 20: ordinal not in range(128)

Is someone get the same problem and find how to resolve it?

thx y'all! :)

From: Bourgatino at: 2010-05-21 08:21:42

I have the same problem.

I type :

unset LANG (my lang was  fr_FR.UTF-8)
Fr)

and it's work fine.

From: eslam at: 2012-04-17 14:15:22

the internet disconnected while i was ypgrading fedora 11 to fedora 16 (verne) . then i tried to continue upgrading .. but it stopped at the same place that it disconnected there ( downliad installer image ) .. what can i do to continue upgrading ?