You are not logged in.
After every pacman update, a script (in the terminal) could be run to force the user to select good mirrors, to be placed into '/etc/pacman.d/mirrorlist' i.e."Where are you from? select location from list >"
Sorting them by 'mirror status' would also help newbies very much.
This would solve a-lot of hassle for new players on arch when first using pacman, atleast after every update there guaranteed less hassle with up-to-date ranked mirrors queries..
Last edited by gav616 (2010-10-26 00:01:50)
Offline
Or we could not and expect our users to be able to simple things like that by themselves...
Offline
Or we could not and expect our users to be able to simple things like that by themselves...
the point was just a little automated service after a pacman update, just to keep things simple.
Offline
Automation like this is not "simple" in the way Arch uses "Keep It Simple".
Offline
If you need a reminder, you can make a script yourself.
Offline
#!/bin/bash
wget -N -O /etc/pacman.d/mirrorlist.tmp "http://www.archlinux.org/mirrorlist/?country=Great+Britain&use_mirror_status=on" ;
sed '/^#\S/ s|#||' -i /etc/pacman.d/mirrorlist.tmp ;
mv /etc/pacman.d/mirrorlist.tmp /etc/pacman.d/mirrorlist ;
pacman -SyyI use this now.
btw, in bash how to you stop a script from continuing if a command fails
Offline
btw, in bash how to you stop a script from continuing if a command fails
command1 && command2command2 will be executed only if command1 succeeds.
Offline