Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Updating FC5 from local mirror site fails

Mandelbrot
08-15-2006, 05:21 PM
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.

Nodsu
08-16-2006, 03:15 AM
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"

Ad
08-16-2006, 03:15 AM
  

Mandelbrot
08-16-2006, 06:35 AM
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

Nodsu
08-16-2006, 08:42 AM
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....

Mandelbrot
08-16-2006, 10:46 AM
Thank you very much for the infomation. It is very much appreciated

Mandelbrot

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

Sony working on digital store for music, movies, books

Details of Intel's 32nm Atom emerge, on track for 2011

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.