PDA

View Full Version : Fedora Core 5 mirror configuration


RahulSundaram
25th October 2006, 09:41 AM
Hi

The primary mirror list at Red Hat site is currently inaccessible due to heavy traffic. Use the following configuration which uses a dynamic mirror management script that checks to make sure mirrors are in sync and directs you to the nearest mirror by default. This is the same system used by default in Fedora Core 6

https://www.redhat.com/archives/fedora-list/2006-October/msg02614.html

laeeq
25th October 2006, 02:09 PM
Hi Rahul,

I tried this technique, in FC4, it did not work.

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#10-25-06 following was not used.
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#Following line was changed on 10-25-06
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
#To
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch

enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


-------

yum list available SDL*
Setting up repositories
Cannot find a valid baseurl for repo: updates-released


Do you know what is the status of FC4 repositories.

ihavenoname
25th October 2006, 10:24 PM

Wow, has FC6 generated more traffic than any other release? I think that we should look into another method of hosting rpms, perhaps used a torrent/p2p style method and have yum use it as a last resort that way when the mirror gets bogged down we can switch to it and help each other out. Hmm, I am not quite sure how that would be implemented but it's sounds possibile.

RahulSundaram
25th October 2006, 10:27 PM
Hi Rahul,

I tried this technique, in FC4, it did not work.

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#10-25-06 following was not used.
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#Following line was changed on 10-25-06
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
#To
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch

enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


-------

yum list available SDL*
Setting up repositories
Cannot find a valid baseurl for repo: updates-released


Do you know what is the status of FC4 repositories.

FC4 is maintained by http://fedoralegacy.org. It was moved over when FC6 Test 2 was released.

RahulSundaram
25th October 2006, 10:29 PM
Wow, has FC6 generated more traffic than any other release? I think that we should look into another method of hosting rpms, perhaps used a torrent/p2p style method and have yum use it as a last resort that way when the mirror gets bogged down we can switch to it and help each other out. Hmm, I am not quite sure how that would be implemented but it's sounds possibile.

Yes FC6 traffic has been very high compared to previous releases. Bittorrent is not suitable for providing yum updates. Check yum-devel list for detailed discussions on this.

ihavenoname
25th October 2006, 10:52 PM
Yes FC6 traffic has been very high compared to previous releases. Bittorrent is not suitable for providing yum updates. Check yum-devel list for detailed discussions on this.
yea, I can see now why that would be a problem. Wow thats awesome, I'm glad everyone is excited about the new release!

USACOMPUTERTEC
26th October 2006, 12:27 AM
Hi

The primary mirror list at Red Hat site is currently inaccessible due to heavy traffic. Use the following configuration which uses a dynamic mirror management script that checks to make sure mirrors are in sync and directs you to the nearest mirror by default. This is the same system used by default in Fedora Core 6

https://www.redhat.com/archives/fedora-list/2006-October/msg02614.html

That does not work. Check this out please. The Thing is the Mirrors you describe are down too for FC5. .http://forums.fedoraforum.org/showthread.php?p=629582#post629582
STOP THE INTERNET TRAFFIC FLOOD before it's too late! The goverment might put a regulation on the internet. They are talking about doing it now.

ihavenoname
26th October 2006, 01:11 AM
That does not work. Check this out please. The Thing is the Mirrors you describe are down too for FC5. .http://forums.fedoraforum.org/showthread.php?p=629582#post629582
STOP THE INTERNET TRAFFIC FLOOD before it's too late! The goverment might put a regulation on the internet. They are talking about doing it now.
what are exactly are you talking about (this may sound rude, it's not...).

nt4cats
26th October 2006, 01:38 AM
FC6 x86_64 yum updates are currently broken -- the repository servers are puking with a python error. You can work around the problem by editing the fedora-core.repo, fedora-extras.repo, and fedora-updates.repo files (all located in /etc/yum.repos.d. directory) and add (no quotes) "&country=global" to the end of each mirrorlist url.

For example, if you find this:

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch

it should look like this when you're done:

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch&country=global


I've attached the files with my edits for your reference and/or use.

bob
26th October 2006, 01:39 AM
I'll agree that there was still a problem with the Updates mirror list - couldn't get that working, although Core stopped complaining at least. Fortunately, I already had Apt/Synaptic installed and simply tried to update that way. It worked fine. Probably Smart is also still an option.

leswarden
26th October 2006, 04:10 AM
excellent nt4cats. work fine.

gary4gar
26th October 2006, 06:06 AM
does apt work on fc5??
is yes how to use it?

leigh123linux
26th October 2006, 08:23 AM
dont work on fc 5

jimbou
26th October 2006, 03:26 PM
I was able to get FC5 updates-released to work by changing:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
to:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch
^^

Just remove the fc from $releasever and it might go.

Worked for me on FC5 fresh install along with the other edits from nt4cats.

HTH

leigh123linux
26th October 2006, 06:46 PM
hi this worked and update runs 2-3 times quicker for me


[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
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/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-fc$releasever&arch=$basearch
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://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-fc$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


just copy and paste to fedora-update.repo . leigh

Tempesta48
26th October 2006, 10:54 PM
nt4cats, it didn't work for me and I've also got FC6 x86_64 :-(

If this is a temporary error, I'll have to wait.

fedorafan2
27th October 2006, 01:56 AM
That does not work. Check this out please. The Thing is the Mirrors you describe are down too for FC5. .http://forums.fedoraforum.org/showthread.php?p=629582#post629582
STOP THE INTERNET TRAFFIC FLOOD before it's too late! The goverment might put a regulation on the internet. They are talking about doing it now.

Download FC6 with BitTorrent and everyone will be happy. :)

bossfrog
27th October 2006, 07:50 PM
I was able to get FC5 updates-released to work by changing:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
to:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch
^^

Just remove the fc from $releasever and it might go.

Worked for me on FC5 fresh install along with the other edits from nt4cats.

HTH

I had no problem updating FC5 (32 bit version) with yum on 10/25/06 using the mirrors in Jeff Spaleta's post: https://www.redhat.com/archives/fedora-list/2006-October/msg02614.html
linked to by Rahul Sundaram above.

They are as follows:

[core]
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch

[extras]
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch

[updates]
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch

Example: fedora-updates.repo
[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://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


Although in the example above, there is an "fc" in the original mirrorlist= line prefaced by a #, the new updates-released mirrorlist lacks an "fc" (mentioned by jimbou).
Simply place a # in front of the old "mirrorlist=" line and paste the new "mirrorlist=" below it in each of the corresponding .repo files in etc/repos.d with a text editor. I didn't need to use Synaptic or Smart Package Manager. As a bonus, the yum updates seem to work faster than they did before.

BF

Hamaad
30th October 2006, 09:52 AM
Hello there,

I am new to fc5, so pls bare with me. I have noticed that everyone is trying to load fc6 thus the high internet traffic, but i am having problems with installng new software using yum. I can see the fix on http://fedorasolved.org/Members/bobjensen/fc5-yum-mirror-list-update but my files are write protected. How can i change the read/write rights on these files so i can start using yum thus enjoying the wonderfull world of linux fc5.

regards

Hamaad

bob
30th October 2006, 10:50 AM
Here's a good tutorial on changing file permissions and ownership: http://www.linuxcommand.org/lts0070.php

scoon
1st November 2006, 01:16 PM
I had no problem updating FC5 (32 bit version) with yum on 10/25/06 using the mirrors in Jeff Spaleta's post: https://www.redhat.com/archives/fedora-list/2006-October/msg02614.html
linked to by Rahul Sundaram above.

They are as follows:

[core]
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch

[extras]
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch

[updates]
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch

Example: fedora-updates.repo
[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://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


Although in the example above, there is an "fc" in the original mirrorlist= line prefaced by a #, the new updates-released mirrorlist lacks an "fc" (mentioned by jimbou).
Simply place a # in front of the old "mirrorlist=" line and paste the new "mirrorlist=" below it in each of the corresponding .repo files in etc/repos.d with a text editor. I didn't need to use Synaptic or Smart Package Manager. As a bonus, the yum updates seem to work faster than they did before.

BF

Hmmm. Updates still not working for x86 FC5. Are there any other suggestions for yum or is apt the way to go ?

-scoon

jimbou
1st November 2006, 01:45 PM
I did a new install on x86_64 yesterday and when I did the initial yum update it took several tries to get it to work. I recommend using the default repos. and just keep trying.

Hamaad
1st November 2006, 01:51 PM
Thnak you very much.

regards

Hamaad

fedorafan2
3rd November 2006, 02:19 AM
Still not working for me. I have fc5 core still says cannot find valid base url

leigh123linux
3rd November 2006, 10:31 AM
uncomment this line

#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

and comment this one

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch

just use the baseurl on you repos. i.e

Example: fedora-updates.repo
[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://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


leigh