I came across this page to automatically update mirrors.
The 1st step is to install reflector, but it seems that is part of the default set-up, which is great.
Then one has to open /etc/xdg/reflector/reflector.conf to add a line. That is where I get confused, because when one does a normal mirror update with yay -Syyu you get a list of countries to choose from and when you have ticked one off, a pop-up asks if you want to update /etc/pacman.conf.
So, obviously there are 2 places where one can keep a mirror list. How should I handle this? What is the best practice?
In my opinion, not to do it automatically. One needs to generate a new mirrorlist if/when there are some issues with those already specified in the list (like low download speed, being out-of-order etc).
If you have a working list, I would just use that.
No, what @pebcak meant was that we have reflector-simple shipped by default, it is a script that was created by Manuel.
If you open the welcome app, you will see a button called “update mirrors”, this will open a GUI version of that script and whenever you have an issue with your mirror, just click on that button and your mirrors will be updated in an instant.
Updating your mirrors and updating your mirrorlist are two different steps when maintaining your system. What @sradjoker said is correct, it was just already implied that once you update your mirrorlist via reflector, then in addition you also are encouraged to update your database with either sudo pacman -Syyu or yay -Syyu (both do the same thing), which is just a good practice to do after updating your mirrorlist so your system refreshed.
That’s always the problem with a newbie: implying things can, and sometimes does, lead to misunderstandings - I speak from experience
Anyway, your comment clears it all up for me.
Circling back to my OP, I’ll follow @pebcak’s advice, not do the update automatically but do it manually when needed, thereby using the button on the Welcome app as per @pebcak’s and @Bryanpwo’s advice, followed by an update of the database as you mentioned.