Updating FC5 from local mirror site fails

By Mandelbrot
Aug 15, 2006
  1. 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 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:

    name=Fedora Core $releasever - $basearch - Updates

    name=Fedora Core $releasever - $basearch - Updates - Debug

    name=Fedora Core $releasever - Updates Source

    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.


    ps. This is pretty long message. I hope it does not annoy anyone.
  2. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    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"
  3. Mandelbrot

    Mandelbrot TS Rookie Topic Starter

    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.


    Attached Files:

  4. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    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=
  5. Mandelbrot

    Mandelbrot TS Rookie Topic Starter

    Thank you very much for the infomation. It is very much appreciated

Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...