PDA

View Full Version : Upgrade FC1 to FC2 hangs


fredrikg
19th June 2004, 12:09 AM
I am trying to run a 'yum upgrade', and it all works fine until:
Test transaction complete, Success!
<first package> 100 % done 1/1223
then it hangs, and I have to kill the process.
When I try again, same story. It installs one package and hangs.

I tried to boot from CD and upgrade, same thing there.
When it actually starts installing packages, it reboots.

ilja
19th June 2004, 01:56 AM
What motherboard do you have?
an ASUS P4p800 Board (http://bugzilla.redhat.com/121819#c122)?
And it is better not to use yum, for upgrade.

fredrikg
19th June 2004, 02:11 AM

No, I have an old ABIT BH6, PIII 400 MHz, 128 Mb RAM.
I know it's a bit slow, but it should work?

ilja
19th June 2004, 02:16 AM
Yes theoretical it should. Maybe this helps : http://www.brandonhutchinson.com/Upgrading_Red_Hat_Linux_with_yum.html
and :
http://linux.duke.edu/%7Eskvidal/misc/fc1-fc2-yum-hints.txt

Have you also checked your CDs?
linux checkmedia
does it.

And how long does i hang? Let it "hang" half an hour, maybe it will work then.

fredrikg
19th June 2004, 03:47 AM
I ran some manual upgrades of rpm, rpm-build, rpm-devel and rpm-python.
And then I ran, as described in one of your links:
'yum upgrade yum python rpm-python rpm glibc glibc-common \
redhat-config-\* XFree86\* libxml2\*'
It succeded, and now it seems like the complete 'yum upgrade' will work.
Thanks!

fredrikg
19th June 2004, 03:53 AM
Now it stopped at "done 29/1091"

fredrikg
19th June 2004, 03:56 AM
It didn't hang, I got the prompt back.

ilja
19th June 2004, 04:00 AM
1091 :D I think you can turn off the monitor and turn it on tomorow ;)

kazim
22nd June 2004, 02:14 AM
If you're using YUM to upgrade to Fedora Core 2, I would suggest not using one of the online repositories.

I just finished upgrading from FC1 to FC2 using YUM. The method I used was:

First of all, make sure you exit X and login as root from the console

1. Download all the ISO images from a fedora mirror
2. Mount each ISO image and copy the files to a directory of your choice (for example purposes, let's say you've used /home/usr/fedora/core/2/
3. Edit your /etc/yum.conf commenting out any other repositories you have listed. Add an entry that points to file://home/usr/fedora/core/2/
4. Run yum-arch (YUM will digest the headers).
5. Finally, follow the instructions you previously had, but instead of YUM taking forever to download updates from some remote server, it will fly through the packages directly from your own personal yum repository.

It worked for me. If you need more details, let me know. The only issue I had was that the kernel did not upgrade with "yum upgrade". I had to "yum install kernel" in order to get the 2.6 kernel.

After a reboot, everything was fine, relatively speaking.

Kazim