also @ TechSpot: AMD Radeon HD 7770 & Radeon HD 7750 Review
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Download Now:

Updating FC5 from local mirror site fails

Thread Tools Search this Thread
  #1  
Old 08-15-2006
Newcomer, in training
 
Location: Kuala Lumpur, Malaysia
Member since: Aug 2006, 3 posts
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_cor...ion_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.
  #2  
Old 08-16-2006
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
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  
Old 08-16-2006
Newcomer, in training
 
Location: Kuala Lumpur, Malaysia
Member since: Aug 2006, 3 posts
Re:Updating FC5 from local mirror site fails

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
Attached Files
File Type: txt yumerr.txt (6.8 KB, 5 views)
  #4  
Old 08-16-2006
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
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....
  #5  
Old 08-16-2006
Newcomer, in training
 
Location: Kuala Lumpur, Malaysia
Member since: Aug 2006, 3 posts
Re:Updating FC5 from local mirror site fails

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

Mandelbrot
Closed Thread

Similar Topics
Topic Replies Forum
1TB mirror goes into standby against my wishes 1 Storage and Networking
RAID vs. Mirror, and how-to 1 Other Hardware
Mirror screen 3 Audio and Video
How do you mirror a hd 4 Storage and Networking
face the mirror! 3 General Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 05:08 AM.