You are not logged in.

#1 2009-01-02 12:01:56

jfca283
Member
From: Santiago, Chile
Registered: 2007-10-09
Posts: 177

pacman downloading very slow

i read about a package, named
rankmirrors
but when i do
pacman -Ss rankmirros, i get nothing
does that package exist now?
i have a 2mb conection, but i get the programs no more that 50kb/s in general
thanks by your advices and happy new year folks...

Offline

#2 2009-01-02 12:29:05

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,930
Website

Re: pacman downloading very slow

 pacman -Qo /usr/bin/rankmirrors 
/usr/bin/rankmirrors is owned by pacman 3.2.1-2

Hope That Helps


Mr Green

Offline

#3 2009-01-02 14:31:49

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: pacman downloading very slow

^ The above post means that the rankmirrors script is already included in the pacman package; so you should already have it; and be able to run it smile

Offline

#4 2009-01-02 14:34:33

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,930
Website

Re: pacman downloading very slow

Sorry that is what I meant to say was just checking .... :-)


Mr Green

Offline

#5 2009-01-02 14:34:47

jfca283
Member
From: Santiago, Chile
Registered: 2007-10-09
Posts: 177

Re: pacman downloading very slow

and how do i run it?

Offline

#6 2009-01-02 16:26:34

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: pacman downloading very slow

`rankmirrors -h` gives usage details.  You can use ">" to redirect the output to a file.

e.g.

$ rankmirrors /etc/pacman.d/mirrorlist > mirrorlist.ranked

mirrorlist.ranked will contain the ranked list, and you can copy it onto /etc/pacman.d/mirrorlist if everything looks ok with it.

Offline

#7 2009-01-02 19:53:28

proxima_centauri
Member
From: Nova Scotia, Canada
Registered: 2008-07-17
Posts: 117
Website

Re: pacman downloading very slow

Glad I stumbled upon this. Thanks for the rankmirrors tips fellas smile


Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN

Offline

#8 2009-01-03 00:00:55

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: pacman downloading very slow

to the topic starter:
50 kbps in general sounds like you could be haveing something like:

1. /etc/pacman.d/mirrorlist only has archlinux.org commented out: archlinux.org is speedlimited at 50 kbps.
2. you updated your mirrorlist with a system upgrade or a pacman upgrade and didn't edit the newly installed mirrorlist. This may cause a lot of mirrors to be uncommented and pacman grabbing files from a remote location, causing bad speeds.


Arch i686 on Phenom X4 | GTX760

Offline

#9 2009-01-03 03:12:52

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: pacman downloading very slow

archlinux.org is throttled at 50 kbps. Make sure that you're using mirrors near you. Pacman uses the first mirror at the top of the mirrorlist file and only moves down the list as servers fail. Rankmirrors will order the servers for you, of course.

If you want to fully use your 2mbps for package downloads, take a look at powerpill (in my sig).


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#10 2009-08-10 20:04:19

Anonymo
Member
Registered: 2005-04-07
Posts: 427
Website

Re: pacman downloading very slow

http://wiki.archlinux.org/index.php/Mirrors

See: Sort Your Mirrors by Their Speed

Also, make sure IPv6 is disabled

http://wiki.archlinux.org/index.php/IPv6_-_Disabling_the_Module

Also check out:

http://wiki.archlinux.org/index.php/Improve_Pacman_Performance

Last edited by Anonymo (2009-08-10 20:07:02)

Offline

Board footer

Powered by FluxBB