Quantcast

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

This entry was posted in linux, system administration. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

8 Comments

  1. Posted November 28, 2008 at 3:38 am | Permalink

    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.

    Regards,

    Deepak Mahajan

  2. Posted November 28, 2008 at 6:17 am | Permalink

    sorry it is VolGroup01 not 00

  3. Posted November 29, 2008 at 3:03 am | Permalink

    It's now working, root user is disabled by default, Fixed Grub with Super Grub for booting problem. For info check Fedora Forum.

  4. Posted December 1, 2008 at 4:34 pm | Permalink

    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.

    Cliff.

  5. Martinb
    Posted December 8, 2008 at 7:38 am | Permalink

    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

  6. Posted December 16, 2008 at 10:39 am | Permalink

    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.

    Thanks.

  7. Posted December 29, 2008 at 5:26 pm | Permalink

    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

  8. Elias
    Posted January 8, 2009 at 9:30 pm | Permalink

    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.

    Elias

One Trackback

  1. By Fedora 12 Bootable Root EBS on EC2 on February 16, 2010 at 7:31 am

    [...] the instance to Fedora 10. This is pretty easy and can be done by following my instructions on upgrading from Fedora 9 to Fedora 10 (don't worry about skipping 9 it will work). Here are the commands needed to do the [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>