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.
- yum update
- yum clean all
- I like to repeated update and clean all a second time to make sure everything got updated
- 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
- Next I had to do a "yum clean all" again before it picked up the change
- Next do a yum -y update
- After a couple hours or so it was ready for a reboot.
- 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.
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
sorry it is VolGroup01 not 00
It's now working, root user is disabled by default, Fixed Grub with Super Grub for booting problem. For info check Fedora Forum.
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.
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
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.
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
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
Pingback: Fedora 12 Bootable Root EBS on EC2
I am in the process of updating now but mirror.liberty.edu does not seem to be a valid mirror anymore. I used mirror.pnl.gov instead so the rpm command becomes
rpm -Uhv http://mirror.pnl.gov/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm http://mirror.pnl.gov/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-notes-10.0.0-1.noarch.rpm