PDA

View Full Version : Change Up2date servers


Harryc
2004-08-25, 12:02 PM CDT
Here's a link for a howto: on changing servers for the 'very' slow up2date. Once you find a fast mirror it is a very nice tool. This is based on FC1, but nothing much has changed for FC2.

http://www.rushland.net/resources/up2date.htm

Psquared
2004-08-28, 08:15 PM CDT
I tried to use these instructions, but the file it claims you must edit does not contain the up2date ftp or http locations. The file exists, but mine only contains some instructions and description. FC2 must have a different location for these files.

dragon
2004-09-01, 06:20 AM CDT
I tried to use these instructions, but the file it claims you must edit does not contain the up2date ftp or http locations. The file exists, but mine only contains some instructions and description. FC2 must have a different location for these files.

Hi Psquared,

The location specified (/etc/sysconfig/rhn/sources) is the correct file for FC2. Have you tried running up2date?

Cheers,

Dragon

Psquared
2004-09-01, 07:54 AM CDT
Hi Psquared,

The location specified (/etc/sysconfig/rhn/sources) is the correct file for FC2. Have you tried running up2date?

Cheers,

Dragon

I found it. I must not have been root when I ran the command. I use "gedit" and then the file name.

I have a question though. I have been trying to use "yum" to update and to install some software. I keep getting a message that indicates that yum is not available. There seem to be a lot of posts about trouble updating right now. I am thinking I just need to add some alternative repositories to the "yum.conf" file but several are giving me the error now - especially Dag. Is this a system wide problem or is it specific only to certain repositories??

dragon
2004-09-02, 06:37 AM CDT
Psquared,

Try commenting out problematic repositories and adding alternative repositories to yum.conf. I'm not certain if you can have multiple URL's per repository, but it might be possible.

One reason I like up2date is the ability to specify a number of mirrors for each repository - I have 5 mirrors each for the main fedora and fedora-update repositories. If I consistently get problems from a particular mirror, I just comment it out and try to find another one to replace it. It helps to pick mirrors geographically close to you and the mirrors are listed by country / region.

The link in the first post shows you how to do this and also provides a link to a list of mirrors. Note that you need to specify the correct directory on the mirror server e.g. one server listed is:
ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/

but in order to download updates you need to specify:
ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/2/$ARCH/

(the $ARCH will ensure you get the right updates for your processor (e.g. i386 or AMD64).

Cheers,

Dragon