Now that Fedora Core 6 is available it is time to upgrade those old crusty FC5 installs. To upgrade from FC5 you can follow these steps:
- You may be able to skip this step but I did a yum update on FC5 first to make sure everything there was up to date and worked before moving to FC6.
- Do a "yum clean all" to remove all the old yum cruft.
- Install the fedora-release for Fedora Core 6. Use the rpm command:
rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-notes-6-3.noarch.rpm
- Run the yum update: yum -y update. At this point I had to remove a few packages to get past dependency issues they weren't important and I just added them back after the update.
If you are still on FC4 you can upgrade from FC4 to FC5 first.










65 Comments
I only have 1 package installed with kernel and fc6 in the name. However yum shows many updates. What do I do? Seems like I should install all the updates, but why did yum skip them?
# rpm -qa|grep fc6|grep kernel
kernel-headers-2.6.20-1.2944.fc6
# yum list|grep kernel
kernel-headers.i386 2.6.20-1.2944.fc6 installed
kernel-smp.i686 2.6.20-1.2312.fc5 installed
kernel-smp.i686 2.6.20-1.2307.fc5 installed
kernel-xen0.i686 2.6.20-1.2307.fc5 installed
kernel-xen0.i686 2.6.20-1.2312.fc5 installed
kernel.i686 2.6.20-1.2944.fc6 updates
kernel.i586 2.6.20-1.2944.fc6 updates
kernel-PAE.i686 2.6.20-1.2944.fc6 updates
kernel-PAE-debug.i686 2.6.20-1.2944.fc6 updates
kernel-PAE-debug-devel.i686 2.6.20-1.2944.fc6 updates
kernel-PAE-devel.i686 2.6.20-1.2944.fc6 updates
kernel-debug.i686 2.6.20-1.2944.fc6 updates
kernel-debug-devel.i686 2.6.20-1.2944.fc6 updates
kernel-devel.i586 2.6.20-1.2944.fc6 updates
kernel-devel.i686 2.6.20-1.2944.fc6 updates
kernel-doc.noarch 2.6.20-1.2944.fc6 updates
kernel-kdump.i686 2.6.20-1.2944.fc6 updates
kernel-kdump-devel.i686 2.6.20-1.2944.fc6 updates
kernel-xen.i686 2.6.20-1.2944.fc6 updates
kernel-xen-devel.i686 2.6.20-1.2944.fc6 updates
yum-kernel-module.noarch 1.0.3-1.fc6 extras
#
Thanks,
Guy
At my place it was also very wrong..
trying to remove lm_sensors and kde-base so i have it undone…
rpm -e –nodeps fedora-release-6-4.noarch fedora-release-notes-6-3.noarch
yum clean all
yum -y update
You must not do it on an importend server if you don't have a spare :-)
For 6-7
[root@localhost]# rpm -Uhv http://download.fedora.redhat.com/pub/fedor
a/linux/releases/7/Fedora/x86_64/os/Fedora/fedora-release-7-3.noarch.rpm http:/
/download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/x86_64/os/Fedora
/fedora-release-notes-7.0.0-1.noarch.rpm
Do you know what the commands will be for Fedora Core 7?
can't upgdate fc5 to fc6 (x86_64)… dependency failed.
elfutils needs elfutils-libs this is not available!
Is anybody resolve elfutils dependency?
I had the "Failed dependencies" problem in spades!
First time through it was two:
livna-release-5-8.noarch (–erase and –repackage worked fine on that)
initscripts-8.31.6-1.i386
When I tried –erase –repackage on that, I got a list of dozens of items with failed dependencies, some of them pretty key-looking.
I stopped at that point.
Is there a trick to get past this?
i had a stock FC5 installation and followed the instructions in the article, and like Guy's system it also did not install the FC6 kernel. i just did a
yum install kernel
and that was fixed (i can see the new kernel in /boot/grub/menu.lst )
I received this error:
Error: Unable to satisfy dependencies
Error: Package autofs needs kernel
I restarted the server after running yum -y update then ran yum install autofs. The kernel was listed in the dependency list and was updated to fc6. The new kernel was loaded at the next reboot and there were no errors after running yum -y update.
Running fc6 now.
One excellent starting point. Thank you.
One problem I had – I had the livna repos installed, and some RPMs like VLC. Removing these fixed the dependency issues.
My biggest problem was the
Error: Package autofs needs kernel for everything marked FC5.
It would appear therefore that the kernel message is erroneous, and generated because of one of the other kernel packages.
It now looks like I am now an FC6 man – until I do the FC7 bit!
Thanks again for pointing out the direction.
I have the same problem as ddn (#60), it complains about:
Error: Package elfutils needs elfutils-libelf = 0.119-1.2.1, this is not available.
Error: Package elfutils needs libdw.so.1(ELFUTILS_0.119), this is not available.
Error: Package cyrus-sasl needs cyrus-sasl-lib = 2.1.21-10, this is not available.
Error: Package elfutils needs elfutils-libs = 0.119-1.2.1, this is not available.
I checked, elfutils-libelf 0.119-1.2.1 is installed, and 0.128-2.fc6 is in the updates. I cant remove elfutils either, as it is required by yum….
Any suggestions?
Hmm… I removed kernel-headers.i386 from RPM database to (force) reinstall, but yum can't find it. How do I get it back, anybody?
After the YUM upgrade – do a "yum install yum-utils" and this will resolve most, if not all of the dependencies and you can then do the yum -y upgrade after this completes. It sounds a bit strange, but it worked on several machines that all had different dependency issues…
cheers
Yesterday I posted about my remote machine hanging after going from FC4->FC5, and that it was currently running in the old FC4 kernel. Tech support at the datacenter just gave me this little gem:
"kernel-2.6.20 is known to be unstable woth fedora core 5 . we recommend you use kernel-2.6.19 kernel-2.6.18 for fedora core 5."
Anyone else able to confirm this and recommend the best way to resolve it?
Oops, that last comment was meant for the FC4->FC5 article. I've been bouncing between three of these articles and lost track… :-)
Working on the last step. Seems to be going fine.
I wanted to post a problem I had.
When running "yum -y update" (last step) I got a message saying the file repomd.xml could not be found. I found this thread http://linux.derkeiler.com/Mailing-Lists/Fedora/2007-07/msg02726.html where they suggest eliminating the core part of the path in the basurl in the file /etc/yum.repos.d/fedora-updates.repo. It is a typo in that file. Remove it and the yum update runs smooth.
Thanks for thhis great post and good luck.
Elias
PS. I know, what am I still doing with FC5 annd now FC6?
8 Trackbacks
[...] So after doing my yum upgrade from FC5 to FC6 on a desktop I decided to see if it worked any better than FC5 on my old Dell Inspiron 600m laptop. FC5 wasn't bad on this laptop but two things always bugged me: 1) the ATI driver didn't work out of the box at anything above 800×600 so I had to wait for the binary ATI drivers to support chipset and then install that and 2) sleep in any form just didn't work correctly. I'm happy to say that both of these things are fixed in FC6. [...]
[...] I finally kicked my 64 bit install to the curb and am now running my AMD 64 desktop box in 32 bit mode. I decided that I had had enough of random crashes and having to compile things special every time I wanted something new. Having just upgraded from FC5 to FC6 on a couple other boxes I decided it was worth installing fresh on this box. Once the new install was finished I started looking into the new desktop enhancements that come in FC6 and after a little digging I ended up at the Beryl project. [...]
[...] I ran in to the problem where the elfutils package came up as a conflict, as outlined in the comments here, here (post #5), and here. The last link had a "hackish" way of making it work, but, after some fighting and a little bit of panic, I can say that it doesn't really work and it just isn't worth the hassle. [...]
[...] Upgrade FC5 to FC6 with yum First do a software update via Applications->Updater so that FC5 is upto date. Then in the terminal window clean up the update state using the command yum clean all Now set up the repositories, type rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-notes-6-3.noarch.rpm And finally start the update yum -y update More information http://www.ioncannon.net/system-administration/99/upgrade-fc5-to-fc6-with-yum/ [...]
[...] Now that Fedora Core 7 has been release it is time to upgrade from that crusty old Fedora Core 6. Last year I did a post on how to upgrade from FC5 to FC6 and this upgrade happened on the first box I used for that. [...]
[...] Originally Posted by Dapper Dan Hi emperorlinux, It has been my experience that trying to upgrade to current version in RedHat/Fedora using yum is challenging to say the very least. I suppose it is doable, but I've tried on more than one occasion and problems always seemed to multiply as fast as I tried to address them. Unless this is a "project" you are undertaking for the purpose of learning more about your distro (and that is a good reason), I'd recommend upgrading from install CD/DVD to current which will cause a lot less headaches. Good luck. Hi all, I have read that many people are not happy to upgrade their linux using yum. However, I have just done this with my old FC5 distribution as emperorlinux and it worked perfectly! I was very impressed. I found these two links pretty helpful: YumUpgradeFaq – Fedora Project Wiki Upgrade FC5 to FC6 with yum @ IONCANNON Third party rpms seem to be a problem. I also had one dependency issue. In order to solve it, I just deinstalled the rpm and kept going. After your upgrade you can try to install it again. Mazer __________________ I was seduced by SUSE 5.1. Registered Linux User #451562 [...]
[...] http://www.ioncannon.net/system-administration/99/upgrade-fc5-to-fc6-with-yum/ http://www.ioncannon.net/linux/68/upgrading-from-fc6-to-fedora7-with-yum/ [...]
[...] out the there must be some method for doing it via yum. I got Google working on it and found this..http://www.ioncannon.net/system-administration/99/upgrade-fc5-to-fc6-with-yum/ and I figured I would work up to [...]