The list you are getting is for some specific countries; here, US and GB are used. Feel free to enter your own country or countries close to you.
The commandline above is adapted from the original documentation at the Archlinux Wiki page on Mirrors. I have entered interactive mode in sudo to have correct rights for redirection and I have removed the sorting by mirror speeds because you may or may not have the script for sorting.
EDIT: If you get errors about non-existing mirror servers you can edit the file /etc/pacman.d/mirrorlist and comment out those that do not work, e.g.
$ sudo nano /etc/pacman.d/mirrorlist
===>
# comment out whole lines by hash like this:
# Server = https://mirror.0x.sg/archlinux/$repo/os/$arch
Server = https://mirror.netweaver.uk/archlinux/$repo/os/$arch
# Server = https://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
(...)
Best Answer
Restore a valid mirrorlist file from the original source:
The list you are getting is for some specific countries; here, US and GB are used. Feel free to enter your own country or countries close to you.
The commandline above is adapted from the original documentation at the Archlinux Wiki page on Mirrors. I have entered interactive mode in
sudo
to have correct rights for redirection and I have removed the sorting by mirror speeds because you may or may not have the script for sorting.EDIT: If you get errors about non-existing mirror servers you can edit the file
/etc/pacman.d/mirrorlist
and comment out those that do not work, e.g.You can also create
Server
entries for that file by hand at the Archlinux Pacman Mirrorlist Generator. Enable the "Use mirror status:" checkmark [X].