How to Upgrade RedHat 9 to Fedora Core 2

Requires: apt.


$ sudo wget http://freshrpms.net/packages/builds/apt/sources.list.i386 -O /etc/apt/sources.list
$ sudo apt-get update && sudo apt-get dist-upgrade

Some people might prefer to /usr/sbin/shutdown -R now afterward.

BTW, this fixes a bug in the RedHate 9 network initialization script for DHCP, where the script tests that the interface is UP before making a dhclient request, but the interface can’t be UP because the IP address has not yet been assigned.

3 Comments

  1. Hi,
    I found your RH9 to Fedora Core 2 update page and ran the script you had listed. It ran for about an hour and this was the last few lines. Do you know what I should do to resolved this? Or how to remove the files I’ve DL’ed?

    Get:628 http://ayo.freshrpms.net fedora/linux/1/i386/core yelp 2.4.0-1 [435kB]
    Fetched 673MB in 2h37m25s (71.3kB/s)
    Failed to fetch http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.core/pcre-4.4-1.i386.rpm Connection failed
    Failed to fetch http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.core/SysVinit-2.85-5.i386.rpm Connection failed
    Failed to fetch http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.core/dev-3.3.8-2.i386.rpm Could not connect to ayo.freshrpms.net:80 (193.1.219.82), connection timed out
    Failed to fetch http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.core/mingetty-1.06-2.i386.rpm Connection failed
    Failed to fetch http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.core/modutils-2.4.25-13.i386.rpm Could not connect to ayo.freshrpms.net:80 (193.1.219.82), connection timed out
    Failed to fetch http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.core/mount-2.11y-29.i386.rpm Could not connect to ayo.freshrpms.net:80 (193.1.219.82), connection timed out
    E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

  2. From the errors it appears that you happened to be trying to download while the server was swamped, or while the network connection disappeared. apt gives you a solution in the error message, but for a swamped server it might not work. That solution is to run

    apt-get update

    and then run

    apt-get --fix-missing dist-upgrade

    This will attempt to find the missing packages during the upgrade process.

Comments are closed.