Fast Updates - Arch Linux

I just found the reflector cli tool which can help you manage the mirrorlist in Arch. Just wow, it is so fast to update anything now, it feels like a breeze.

Mirrorlist

Changing a the mirrorlist (list of update servers) to a nearby located mirror resolves in faster updates. Really amazing!

Quick setup:

bash
1
sudo pacman -Sy reflector

Test mirrors and add the fastest to your mirrorlist:

bash
1
sudo reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

You can also use the --country flag to specify your country. For example: --country Germany

Refresh package databases:

bash
1
sudo pacman -Syyu

Creating a systemd timer to refresh mirrors regularly:

bash
1
2
sudo systemctl enable reflector.timer
sudo systemctl start reflector.timer

Speedy!