Header Shadow Image


RedHat Linux Fedora: Fedora 9 to Fedora 10 upgrade.

Well folks, it's upgrade time again.  It's been raining releases from Fedora lately, each one coming out almost every 6 months so here we are.  My own installation is over 4 years old and I took it from Fedora 1 to Fedora 10 in that time. (You can search here for the older upgrade procedures)  So the process RedHat has put together for upgrades is fairly robust.  The Fedora 9 to Fedora 10 upgrade follows the general procedure outlined on the first Fedora Core upgrade page (Hasn't changed in years, which is good):

RedHat Fedora: Fedora Core 1 to Fedora Core 2 Upgrade .  If you have not already upgraded to F9 please visit RedHat Fedora: Fedora 8 to Fedora 9 upgrade. page first before going up to Fedora 10.

The only difference really is that you will only need to replace step 8 ) above with the below step on installing the fedora-release RPM files, otherwise you won't be upgrading anything.  :)

Upgrading to Fedora 10 is straightforward, in theory, and follows only a few basic steps below however there are some issues to consider, which you might want to do prior to the upgrade.  (If you're feeling lucky, just skip to the BASICS below.)

CONSIDERATIONS

Like Fedora 9, Fedora 10 uses KDE 4+.  As such, the new desktop brings many changes some of which can heavily change the way you do things or what you're used to.  Here are some articles for consideration before or when upgrading to either Fedora 9 or Fedora 10:

Latest problems as of my upgrade to Fedora 10:

Topic Issue
Fedora 10: unable to authenticate user and reenabling the root login access.  root login in Fedora 10 has been disabled.  These instructions show how to reenable it.
Fedora 10+: UI video / graphics problems upon reboot to Fedora 10+.  Graphics are unreadable. ATI video problems occurred with resolution after first reboot to Fedora 10.  This article goes about discussing how to resolve this.
http://fedoraproject.org/wiki/Bugs/F10Common A handy fedora readme on some issues in Fedora 10 including some ATI driver issues.

 

Some older issues you may still see after upgrading to Fedora 10 which were also present in Fedora 9:

Topic Issue
Fedora & KDE: ERROR: Couldn’t attach to DCOP server! DCOP has been replaced by D-BUS in KDE 4.0 so some of your applications may loose functionality.  This article describes the issue and possible solutions.
Linux: cups giving 404 Not Found when trying to access http://localhost:631/ New cups versions had a minor misconfiguration in the config file.  This article describes how to resolve this.
Terminal Emulators: Dynamically changing the tab title text and the mrxvt tabbed konsole alternative.  Popular terminal emulators like konsole, which could be scripted to have tab titles changed from a script using DCOP, no longer support such scripting and D-Bus scripting isn't yet complete as of Dec 5th 2008.  This article looks into this topic.
F9, KDE 4.X and Konsole: Extra spaces on console command line between cursor and text.  Other broken konsole functionality.
KDE 4.X and Fedora 9+: The taskbar is gone. In case your task bar disappears after upgrading, here is how to reenable it.
Graphics and Video: Changing the graphics/video resolution with xrandr In case your screen resolution is changed after upgrade, here is how to reset it from a terminal.
Acrobat Reader on Fedora: Seamingly never ending list of or non stop continous “expr: syntax error” Adobe reader has a bug in Fedora 9 however might not be present in Fedora 10.  In case it shows up, this is how to go about fixing it.
KDE 4.X and Fedora 9: Problems starting xserver after changing video settings. X server wouldn't start after upgrading to KDE 4+.  This article focuses on how to go about getting KDE up and running.
Fedora 9 and KDE 4.x: Problems starting applications due to xorg-x11-xfs X font issues caused applications to crash.  This article focuses on resolving this issue.

 

BASICS


  1. nice -n 19 yum update
  2. cd /some/dir
  3. mkdir ./F9toF10
  4. cd ./F9toF10
  5. Ensure you have debuglevel=10 and errorlevel=10 enabled in /etc/yum.conf in case we need more debugging information.
  6. nice -n 19 yum -y upgrade
  7. nice -n 19 yum clean all
  8. nice -n 19 yum clean all (Just to make sure)
  9. wget http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm
  10. wget http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-notes-10.0.0-1.noarch.rpm
  11. rpm -Uvh fedora-release*.rpm
  12. cat /etc/fedora-release  (Make sure ‘Fedora release 10 (Cambridge)‘ appears )
  13. nice -n 19 yum -y upgrade 2>&1|tee ./F9-to-F10-upgrade.Dec.5.2008.02.10.PM.txt
  14. Refer below for any issues and repeat step 12) as necessary.

NOTE: You can forgo the use of ‘nice‘ alltogether but would recommend it if you still want to use your system for other porposes, while upgrading, without incuring a significant slowdown due to the upgrade.

INTRODUCTION

The process is generally straight forward however, to avoid unnecessary RPM nightmares, it is advisable to remove conflicting packages when failures occur.  This may or may not be an option for you however do note that you can typically reinstall applications once the upgrade is completed with updated copies of your favorite stuff.  My console of choice to do this with here is mrxvt and is described in this article.

 

DETAILS

Steps 1 to 8 are really straight forward.  We do an upgrade before doing a final jump to Fedora 10.  Running step 7 produced alot of packages that were removed and running it again in step 8 produced the following output:

$ nice -n 19 yum clean all
Config time: 0.448
Yum Version: 3.2.19
COMMAND: yum clean all
Installroot: /
Ext Commands:

   all
Cleaning up Everything
$

Short output as above indicates everything is clean.  Now we move to the fun stuff.  Checked my current release with:

$ cat /etc/fedora-release
Fedora release 9 (Sulphur)
 

After step 11 you should see:

$ cat /etc/fedora-release
Fedora release 10 (Cambridge)
$

Start on step 13 and 14Step 13 and step 14 may take some time, such as hours, so if you need to do something like water the plants, now is a good time.  Above gave me:

Error: Missing Dependency: librpmio-4.4.so is needed by package perl-RPM2-0.67-5.fc9.i386 (installed)
Error: Missing Dependency: librpm-4.4.so is needed by package perl-RPM2-0.67-5.fc9.i386 (installed)
Error: Missing Dependency: libdb-4.3.so is needed by package libtabe-0.2.6-14.i386 (installed)
Error: Missing Dependency: librpmdb-4.4.so is needed by package perl-RPM2-0.67-5.fc9.i386 (installed)
 

Followed the above with:

$ rpm -e perl-RPM2-0.67-5.fc9.i386
$ rpm -e perl-RPM2-0.67-5.fc9.i386
error: package perl-RPM2-0.67-5.fc9.i386 is not installed
$ rpm -e libtabe-0.2.6-14.i386
error: Failed dependencies:
        libtabe = 0.2.6 is needed by (installed) libtabe-devel-0.2.6-14.i386
$ rpm -e libtabe-0.2.6-14.i386 libtabe-devel-0.2.6-14.i386
$ rpm -e perl-RPM2-0.67-5.fc9.i386
error: package perl-RPM2-0.67-5.fc9.i386 is not installed
$

And tried to upgrade again: nice -n 19 yum -y upgrade 2>&1|tee ./F9-to-F10-upgrade.Dec.5.2008.02.30.PM.txt.  This yielded in:

 
Transaction Summary
================================================================================
Install    119 Package(s)
Update    1668 Package(s)
Remove       1 Package(s)

Total download size: 2.7 G
Downloading Packages:
 

then it waited there for a while downloading stuff.  Sure enough, the upgrade completed.  Time to reboot after a quick kernel check to ensure everything is where it was supposed to be and the new kernel is installed:

$ rpm -aq|grep kernel
kernel-firmware-2.6.27.5-117.fc10.noarch
.
.
kernel-headers-2.6.27.5-117.fc10.i386
kernel-2.6.27.5-117.fc10.i686
.
.
$

And restarting we go.  The reboot went fine and other then the two problems above and some misty KDE graphics I'm putting up with now, the upgrade went relatively smoothly.  :)

2 Responses to “RedHat Linux Fedora: Fedora 9 to Fedora 10 upgrade.”

  1. I am new to linux compilation and stuff . I mistakenly deleted bzImage system.map and initrd in the /boot dir while learning in my Fedora 9 2.25.15 kernel.
    I want know if an upgrade to 10 will work and I ll be able to save my data .
    Thanks for help.
    Vaishali

  2. > I am new to linux compilation and stuff . I mistakenly deleted bzImage system.map and initrd in the /boot dir while learning in my Fedora 9 2.25.15 kernel.
    Did you keep a copy of a previous working kernel or was that your only kernel?

    > I want know if an upgrade to 10 will work
    If you can boot into an F9 system using another kernel, aside from the kernel problem above, I can’t see why not.

    > and I ll be able to save my data .
    No one can guarantee you that. I know I haven’t lost valuable data upgradign from F1 to F13 using yum. Your mileage may vary.

    Cheers!
    TK

Leave a Reply

 


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License