Open JamesLewisLiu opened 1 year ago
If you don't touch the Mirror region
setting in the menu, archinstall shouldn't modify the mirror-list. If it does that's a bug.
Testing mirrors shouldn't take more than a few seconds and simply checks your ability to reach the mirrors: https://github.com/archlinux/archinstall/blob/397cceca90592ec39a594cd8fa5215b64d7238ae/examples/guided.py#L281-L284
I've noticed that it's some what slow occasionally, and that's probably when reflector either hasn't completed it's execution prior to running archinstall or the top mirror had good latency but terrible throughput for where you live. In which case pacman -Sy
might be pretty slow.
I don't have any good ideas on how to work around that tbh. Ideas?
I also faced this. I had a hunch it could be related to trying to connect to IPv6, and checked my router and it had DHCP with IPv6 enabled, and I only have ipv4 address (my ISP offers ipv6, but I currently have this disabled, but unrelated).
I ended up removing this from my router, and rebooting the live CD and it worked. Maybe check if the user actually HAS IPv6 before checking for mirrors, or prefer ipv4 if they have that?
archinstall will stuck at Testing mirrors forever,however I knew which mirrors are usable.
After manually run reflector -c the archinstall will still modify mirrorslist,Hope it can be add a option to pass country parameter to reflector or specify the only one mirror for the whole process
rm -rf /etc/pacman.d/mirrorlist vim /etc/pacman.d/mirrorlist
add a mirror you can reach in your country
then,save the file and quit editor
finally type archinstall
Today had this same issue, at first tried the procedure from @moyanxinxu and @Torxed described here without luck. Also checked DNS and tried without IPv6 without change based on comment from @joshuataylor.
So somehow it is still possible to get stuck on this step forever, so there is a codepath or a server/DNS thing that can break this step?
Afterwards found out that many people have the same problem today, and how to get around to run the installer at: #https://www.reddit.com/r/archlinux/comments/199pp25/reflector_broken/
Copied solution here for others ending here:
run "sudo pacman -Sy" run "archinstall" when installing and hangs on reflector ctrl alt F2 login as root run "systemctl stop reflector" ctrl alt F1 back to install reboot after install Run "sudo pacman-key --refresh-keys"
Copied solution here for others ending here:
run "sudo pacman -Sy" run "archinstall" when installing and hangs on reflector ctrl alt F2 login as root run "systemctl stop reflector" ctrl alt F1 back to install reboot after install Run "sudo pacman-key --refresh-keys"
Thank you! It works :)
Today had this same issue, at first tried the procedure from @moyanxinxu and @Torxed described here without luck. Also checked DNS and tried without IPv6 without change based on comment from @joshuataylor.
So somehow it is still possible to get stuck on this step forever, so there is a codepath or a server/DNS thing that can break this step?
Afterwards found out that many people have the same problem today, and how to get around to run the installer at: #https://www.reddit.com/r/archlinux/comments/199pp25/reflector_broken/
Copied solution here for others ending here:
run "sudo pacman -Sy" run "archinstall" when installing and hangs on reflector ctrl alt F2 login as root run "systemctl stop reflector" ctrl alt F1 back to install reboot after install Run "sudo pacman-key --refresh-keys"
This solved the case on archlinux version April 2024
Same problem, same solution on version July 2024.
What is interesting is that I did several installations without any problem. Then, yesterday, without any change I can think of, I started to run into this issue, that I worked around by stopping reflector. Today, the installations are again able to proceed without any issue.
archinstall will stuck at Testing mirrors forever,however I knew which mirrors are usable. After manually run reflector -c the archinstall will still modify mirrorslist,Hope it can be add a option to pass country parameter to reflector or specify the only one mirror for the whole process