Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > The Alternative OS

Updating FC5 from local mirror site fails

Reply
Bookmark / Share this page
Thread Tools
  #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.
Reply With Quote
  #2  
Old 08-16-2006
Nodsu's Avatar
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,430 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"
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #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)
Reply With Quote
  #4  
Old 08-16-2006
Nodsu's Avatar
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,430 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....
Reply With Quote
  #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
Reply With Quote
Reply
Thread Tools

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
What's Your Local GAS PRICE? kirock The Meeting 'spot' 43 04-30-2006 11:23 AM
Mirror screen CMH Audio and Video 3 04-03-2006 08:51 AM
How do you mirror a hd Hunger_force Storage & Networking 4 08-09-2005 06:25 PM
SiI 3112 - controller just hangs when creating RAID1 (mirror) set lardus Storage & Networking 1 06-02-2005 08:00 AM
face the mirror! pierreherg The Meeting 'spot' 3 04-25-2004 11:06 AM


All times are GMT -4. The time now is 01:26 PM.