You are not logged in.

#1 2007-12-19 18:14:49

axion419
Member
Registered: 2007-04-12
Posts: 185

How to Change pacman Mirrors

arch works fine, except i use the ftp.archlinux mirror and its throttled, so my download are way slower then im capable.  i followed this from the wiki

[core]
# Add your preferred servers here, they will be used first     
Include = /etc/pacman.d/core

changed it to

[core]
ftp://ftp.nethat.com/pub/linux/archlinux/
Include = /etc/pacman.d/core

didnt work, tried
ftp://mirrors.unixheads.org/archlinux http a well

It wouldnt work, It even hung once so i had to restart.

So i cant figure out how to use other mirrors besides the default one and have them actally work.  I would like to be able to download faster then 50-80kbps when im capable of mb's down at a time.  I saw this in the wiki

"Aria2 Mirror Script " but it also says not to use ftp.arch linux with it, so im stuck, its all i can use.  Any options for a newb? 

maybe post a pacman.d if your in america? i dont know what im doing wrong.

Offline

#2 2007-12-19 18:28:51

WhiteMagic
Member
Registered: 2007-03-01
Posts: 85

Re: How to Change pacman Mirrors

If you take a look at /etc/pacman.d/ you will see different files e.g. core, extras and so on. In these you can uncomment / move to the top the mirrors which give you the best performance.
I was under the impression, that the way you tried to add new mirrors should work but I never tried it this way.

Offline

#3 2007-12-19 18:35:18

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: How to Change pacman Mirrors

axion419 wrote:

[core]
ftp://ftp.nethat.com/pub/linux/archlinux/
Include = /etc/pacman.d/core

It should read :
[core]
Server = ftp://ftp.nethat.com/pub/linux/archlinux/
Include = /etc/pacman.d/core


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#4 2007-12-19 18:46:00

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: How to Change pacman Mirrors

shining wrote:
axion419 wrote:

[core]
ftp://ftp.nethat.com/pub/linux/archlinux/
Include = /etc/pacman.d/core

It should read :
[core]
Server = ftp://ftp.nethat.com/pub/linux/archlinux/
Include = /etc/pacman.d/core

It should read:
[core]
Server = ftp://mirrors.unixheads.org/archlinux/core/os/i686/
Include = /etc/pacman.d/core

You need to specify the extra dirs, just like it does in /etc/pacman.d/core

Offline

#5 2007-12-19 19:24:36

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: How to Change pacman Mirrors

alright, i didnt have the whole directory in there.  Thanks for that.  Any suggestions on using the Aria2 Mirror Script " , how do i make sure it doesnt use the ftp arch linux repo? comment it out in all the pacman.d's?

Offline

#6 2007-12-19 21:17:03

tlaloc
Member
From: Lower Saxony
Registered: 2006-05-12
Posts: 359

Re: How to Change pacman Mirrors

Before you mess around with Aria - did you try to run rankmirrors to find the best server for your place (tons of info in forum and wiki).

Offline

#7 2007-12-20 08:01:17

jpa_cds
Member
Registered: 2007-12-19
Posts: 3

Re: How to Change pacman Mirrors

tlaloc wrote:

Before you mess around with Aria - did you try to run rankmirrors to find the best server for your place (tons of info in forum and wiki).

I tried rankmirrors, but got a message about not having python installed - which is true, python was not installed by the installer.

/usr/bin/rankmirrors: /usr/bin/python: bad interpreter: No such file or directory

So, I tried to install python but could not find it in the repositories available (yet - I will keep on looking by manualy sorting repos in the config files)!

j./

Offline

#8 2007-12-20 14:50:59

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: How to Change pacman Mirrors

nethat was not working, it was requiring a login.

Offline

#9 2007-12-20 18:08:22

tlaloc
Member
From: Lower Saxony
Registered: 2006-05-12
Posts: 359

Re: How to Change pacman Mirrors

Python not available? You must be kidding.

Anyway, there should be a standard list of mirrors (by continents) in your /etc/pacman.d/core file. Pick one at random, and specify that in /etc/pacman.conf. Should look like this:

[core]
# Add your preferred servers here, they will be used first
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/i686
Include = /etc/pacman.d/core

Please use the same mirror for each repo you use.

Offline

#10 2007-12-20 19:44:02

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: How to Change pacman Mirrors

i went through rank mirrors, the one that pinged the fastest wasnt the fastest when it came to downloading, so i guess its more of a guess and check.

Offline

Board footer

Powered by FluxBB