Updating FC5 from local mirror site fails

I have installed Fedora Core 5 on my workstation and it is working quite well. However I have been instructed that I need to update my installation. Using the instructions provided at http://stanton-finley.net/fedora_core_5_installation_notes.html I ran the 'yum -y update' command. I was logged in as root.

Although I am using a 1Mb ADSL connection, available bandwidth to countries overseas is very low. I typically get a download speed of 6 to 8 kB/s. So you can imagine the Fedora update taking very long.

I found that there is a mirror site in my neighboring country that can service this update at much higher speed. In order to do this I was instructed to edit the fedora-updates.repo file in /etc/yum.repos.d directory. The file now looks like this:

[updates]
name=Fedora Core $releasever - $basearch - Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
mirrorlist=http://mirror.averse.net/fedora/linux/core/updates/$releasever/i386
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-debuginfo]
name=Fedora Core $releasever - $basearch - Updates - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-source]
name=Fedora Core $releasever - Updates Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/
mirrorlist=http://mirror.averse.net/fedora/linux/core/updates/$releasever/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

Trying the 'yum -y update' again fails very quickly. I believe the error messages, there are a lot of them, seem to indicate that yum can't find the server.

I am sure I am doing something wrong or missing some steps. I have very good experience in the Windows NT/2K/XP environment. I am however, a relative newbie in Linux although the concepts are not difficult to understand.

Please help. It will be very much appreciated.

Mandelbrot

ps. This is pretty long message. I hope it does not annoy anyone.
 
The exact error messages would be helpful. I can access these URLs just fine from here. Do you have to use a proxy for internet access?

You can get a copy of the yum errors in "filename" if you run "yum -y update 2>&1 | tee filename"
 
Thank you for your help.

Attached is the error file. I have deleted much of the middle section of the file due to its size. In any case, it was just a repetition, as you can see.

Mandelbrot
 

Attachments

  • yumerr.txt
    6.8 KB · Views: 5
Ah. You have to use the "baseurl" keyword if you specify the URL of the YUM repo directory. If you use mirrorlist, yum expects a file listing a bunch of URLs. In your case, it receives a HTML page and doesn't know what to do with it.

Rewrite your config file to read baseurl=http://mirror.averse.net/fedora....
 
Back