Here are some options to get a better result and fix mirror-related issues:
If you're on a slow connection or live far from Arch mirrors:
sudo reflector --latest 20 --protocol https --sort rate --timeout 10 --save /etc/pacman.d/mirrorlistSets timeout to 10 seconds instead of 5.
You’ll likely get better speed and fewer timeouts by choosing mirrors close to your location.
Example for India:
sudo reflector --country India --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlistOr for a region (e.g. Asia):
sudo reflector --continent Asia --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlistReflector has logic to skip non-working mirrors automatically, but you can further filter out broken ones with:
sudo reflector --latest 20 --protocol https --sort rate \
--save /etc/pacman.d/mirrorlist --score 10This makes it prefer mirrors that respond faster and penalizes flaky ones.
You may be facing:
- Network issues
- ISP restrictions
- A VPN that’s throttling traffic
- A firewall blocking access to certain mirrors
Try pinging or downloading manually to confirm.
Example:
curl -I https://archlinux.org