You are not logged in.
hey guys can anyone tell me how to change my repo servers to faster ones (based in the uk) i am currently with mirror service.org i think and only getting 80kbps
Last edited by Cew27 (2009-01-08 19:10:06)
Offline
try using rankmirrors
rankmirrors
Usage: rankmirrors [options] MIRRORFILE | URL
Ranks pacman mirrors by their connection and opening speed. Pacman mirror
files are located in /etc/pacman.d/. It can also rank one mirror if the URL is
provided.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-n NUM number of servers to output, 0 for all
-t, --times only output mirrors and their response times
-u, --url test a specific url
-v, --verbose be verbose in ouptut
Mr Green I like Landuke!
Offline
how does this work?
Offline
To change your mirror, open the file /etc/pacman.d/mirrorlist, uncomment a mirror near you, and move it to the top of the file.
rankmirrors will take a list of mirrors and arrange them in order of speed. If you want to find the 5 fastest mirrors where you are, pass it your mirrorlist with servers near you uncommented along with the "-n 5" option and redirect the output to a file, e.g.
cd /etc/pacman.d
cp mirrorlist mirrorlist.bak
rankmirrors -n 5 mirrorlist >mirrorlist
That will save a backup of your current mirrorlist to /etc/pacman.d/mirrorlist.bak and rank your mirrorlist file.
If you want to really increase pacman's speed, take a look at powerpill and reflector (the link is in my sig).
Last edited by Xyne (2009-01-06 16:51:34)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
can powerpill work with yaourt?
Offline
works with other wrappers
Using Powerpill Inside Yaourt and Other Wrappers
If the wrapper ha...
Last edited by rson451 (2009-01-06 18:09:06)
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
i find uk2 mirror to be the best, can pull 1000kpbs off it
Offline
+1 for powerpill. I have only the three fastest servers that I could find, and powerpill makes it so much nicer.
Offline
i tried rankmirror, it showerd nothing in my mirrorlist exept it was generatored by rank mirror
also i forgot i posted this sorry for the cross post
Offline
Ok, this is as clearly as I can explain it, I think. This should get you the best possible download speed.
Run these commands to install powerpill:
echo -e "\n[xyne-any]\nServer = http://xyne.archlinux.ca/repos/any/\n" >>/etc/pacman.conf
pacman -Sy powerpill
Open /etc/pacman.d/mirrorlist and uncomment all of the mirrors in your hemisphere, then use powerpill as you would use pacman:
powerpill -Syu
powerpill -S pkgA
etc.
To test your bandwidth, try downloading something like base or openoffice:
powerpill -Sw --cachedir /tmp base
powerpill -Sw --cachedir /tmp openoffice-base
The -w flag is "download only", so it won't install the packages and --cachedir is just an alternative cache to guarantee that the packages are downloaded even if you already have them in your cache.
If you're using Yaourt, open your yaourtrc file (either /etc/yaourtrc or ~/.yaourtrc), uncomment the PacmanBin line and change it to
PacmanBin /usr/bin/powerpill
If yaourt or some other wrapper complains about the output format of powerpill, generate the configuration file with
powerpill --gen-conf
then open "~/.config/powerpill/powerpill.conf" in a text editor and change the following section
# Additional command line arguments that you always wish to include
# when powerpill is invoked, such as "--nomessages" when wrapping
# powerpill with another script.
# Default: ''
ADDITIONAL_POWERPILL_ARGUMENTS = ''
to
# Additional command line arguments that you always wish to include
# when powerpill is invoked, such as "--nomessages" when wrapping
# powerpill with another script.
# Default: ''
ADDITIONAL_POWERPILL_ARGUMENTS = '--nomessages'
Last edited by Xyne (2009-03-07 00:14:04)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
thanks ill try this tonight
Offline
please dont listen to me. im an idiot. i was editing the mirrorlist.pacorig for some strange reason. how silly do i feel
Offline
Please change your thread title to Solved
Mr Green I like Landuke!
Offline
I can't get powerpill to install
I get
[otacon@desktop ~]$ sudo echo -e "\n[xyne-any]\nServer = http://xyne.archlinux.ca/repos/any/n" >>/etc/pacman.conf
bash: /etc/pacman.conf: Permission denied
[otacon@desktop ~]$
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
I can't get powerpill to install
I get
[otacon@desktop ~]$ sudo echo -e "\n[xyne-any]\nServer = http://xyne.archlinux.ca/repos/any/n" >>/etc/pacman.conf
bash: /etc/pacman.conf: Permission denied
[otacon@desktop ~]$
Please start a new thread for this issue. Thanks.
Offline