reflector fails with `no mirrors found` in arch server setup
To Reproduce
Steps to reproduce the behavior:
- Arch Server Setup
- Ph mirror error
Screenshots
i am also getting mirror issue in NP since last 3 days
hey. thanks for reporting. that seems to be an issue with reflector so we can't really do much about it. i think we could probably add a prompt asking the user to choose between the default mirror set and the "most up-to-date" mirrors (either manually here or through reflector). would you be willing to implement this?
Yes, I'd be happy to help implement a prompt for mirror selection. I agree that providing options for users in Asia, especially those outside the fastest mirror selection, is crucial.
I suggest we add a prompt that allows users to choose between:
- Manual Mirror Input: Users can enter their preferred mirror URLs directly. This is useful for users with specific mirror preferences.
- Location-Based Mirror Groups: We can provide pre-defined mirror groups based on geographical regions. For example, for users in the Philippines, we could offer a group containing mirrors from Japan, Indonesia, Thailand, and optionally, Worldwide.
example prompt:
Choose mirror selection method:
- Manual Input
- Location-Based Groups
- (The automatic setting up mirrors in linutil)
If Location-Based Groups, select your region: picked Philippines Fastest mirrors in Philippines
- Japan
- Indonesia
- Thailand
- (Optional) Worldwide
This approach allows for both flexibility and ease of use. That's all I suggest, but it still depends on you, thanks.
Thanks for adding this. much appriciated!
I think this is what causing the issue,
iso=$(curl -4 ifconfig.io/country_code)
reflector -a 48 -c "$iso" --score 5 -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist
Yes, I'd be happy to help implement a prompt for mirror selection. I agree that providing options for users in Asia, especially those outside the fastest mirror selection, is crucial.
go ahead :)
This approach allows for both flexibility and ease of use. That's all I suggest, but it still depends on you, thanks.
i don't see any issues, all good to implement.
@CtorW