Mirrors will be sorted by their current response times and then te mirror list will be exported and saved to the following directory:
/etc/pacman.d/mirrorlist
- Fetch and add each and every mirror to the list:
sudo pacman-mirrors --fasttrack && sudo pacman -Syyu
- Limit the number of mirrors being fetched, add a number after —fasttrack:
sudo pacman-mirrors --fasttrack 10 && sudo pacman -Syyu
- By country:
sudo pacman-mirrors --country South_Africa && sudo pacman -Syyu
- Ability to choose mirrors:
sudo pacman-mirrors --interactive && sudo pacman -Syyu
To apply the new mirror list to your system such that pacman will start using it for next updates, you must synchronize the database:
sudo pacman -Syyu