Filter Out US Mirrors Quickly During Install
Does anyone have some awesome vim skills that can basically wipe or comment all non us mirrors / un-comment all us mirrors from: /etc/pacman.d/mirrorlist
Or if anyone knows how I can do this w/ Sed & Awk.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 37fiow
5 comments
not sure exactly what your use case is, but did you see this?
https://wiki.archlinux.org/index.php/Reflector#Example_3
reflector --verbose --country 'United States' -l 200 -p http --sort rate --save /etc/pacman.d/mirrorlist
creates a mirrorlist based on fast, up to date US mirrors.
HTH.
Are the tools installed during the installer to run the above 'reflector' command?
It's not part of the base install. See link.
I usually just run
sed -ni '/kernel/p' /etc/pacman.d/mirrorlist.