Upgrading from Fedora 9 to Fedora 10 with yum

Fedora 10 is out and once again it is time to upgrade. The upgrade from Fedora 9 to Fedora 10 is almost exactly like the upgrade from Fedora 8 to Fedora 9. Here are the steps you need to do the upgrade from Fedora 9 to Fedora 10.

Before I go on about doing this by hand you should know that you can use PreUpdate once it populates with the latest update.

  1. yum update
  2. yum clean all
  3. I like to repeated update and clean all a second time to make sure everything got updated
  4. Run the following command to update the yum repo on your box:
    rpm -Uhv http://mirror.liberty.edu/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm http://mirror.liberty.edu/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-notes-10.0.0-1.noarch.rpm
  5. Next I had to do a "yum clean all" again before it picked up the change
  6. Next do a yum -y update
  7. After a couple hours or so it was ready for a reboot.
  8. I always have to recompile my NVIDIA driver when I do a kernel update so this was no different. This was really the only thing that I needed to do to finish the upgrade.

They have the upgrade down pat now. I'm surprised at how easy it is to do this by hand even.

I also figured I would try PreUpgrade on a Fedora 9 system while I was at it. I did a "yum install preupgrade" and then ran preupgrade from the command line. The only problem was that it didn't list any available updates. I'll try again in a couple days and see if it shows up eventually.

Update: It looks like Fedora pushed out a new Fedora 9 preupgrade package that now displays Fedora 10.

Tags: ,

10 thoughts on “Upgrading from Fedora 9 to Fedora 10 with yum

  1. Deepak Mahajan

    Dear Carson,

    Thanks for your tips again, I got update from above server with x86_64. But now while restarting to Fedora 10 it saying VolumeGroup00 could not found. I have HP Xeon with SCSI disks. Please guide.

    It boot's with privious kernel but fail to login in X with unable to authenticate user.


    Deepak Mahajan

  2. Cliff Stanford

    Have you ever tried hopping over releases? In other words, could I go straight from FC7 to F10? Or do I have to go one step at a time?

    Thanks for a great guide, by the way.


  3. Martinb

    I just did a FC8 to FC10 and it worked after some extra little steps

    I did have some double rpms from old fedora and I did need to remove them first

    I did found the following 2 scripts

    rpm –last -qa | perl -n -e '/^(\S+)-\S+-\S+/; print "$&\n" if $SEEN{$1}; $SEEN{$1} ||= $_;' | sort | uniq >dupes.txt

    and then you can do a

    for i in $(cat dupes.txt); do rpm -e $i && echo $i; done

    After those 2 steps i could do the update without one problem

  4. Cliff Stanford

    Brilliant Martin. Worked well on the i386 machine.

    Problem on an x86_64 was that it tried to remove *both* packages where both the i386 and the x86_64 versions were installed.


  5. Jason Kohles

    You can solve the i386/x86_64 problem with this command to find the dups instead…

    rpm -qa –qf="%{NAME}.%{ARCH}\n" | sort | uniq -c | awk '$1 > 1 { print $2 }' | egrep -v '^(gpg-pubkey|kernel)' > dupes.txt

  6. Elias

    Thanks for this great set of upgrade posts. I upgraded from FC5->FC6->FC7->FC8 –> FC10 in two days. Had to remove some packages for dependencies resolution. Left the packages out until at FC10. Then reinstalled the removed packages.


  7. Pingback: Fedora 12 Bootable Root EBS on EC2

Leave a Reply

Your email address will not be published. Required fields are marked *