@noobertroon said in mirrorlist.pacnew replaces mirrorlist actually?:
Am I supposed to be running something else, I find it hard that you are supposed to manage your update manager?
No, you’re not. It is possible to safely ignore /etc/pacman.d/mirrorlist.pacnew. The thing I do for ages.
mirrorlist.pacnew is only an Arch’s suggestion. It’s a generic list of recent Arch mirrors available worldwide. They may or may not work well for you.
Mirrorlist.pacnew files are not accumulated. A newer version, when arrives, overwrites the already existing one.
The best practice is to run reflector. It will find the best mirrors for your current geographical location. It’s enough to run it two or three times a year. Or run it daily. Weekly. Monthly. Or never run it.
If you do nothing - ignore mirrorlist.pacnew and don’t run reflector - nothing will break, and nothing dramatic will happen. At worst, the download rate of your mirrors could deteriorate with time, so packages download will be taken a bit more time during upgrades. Or it may even improve - if your mirrors are well maintained by the owners.
/etc/pacman.d/mirrorlist, generated by reflector, worths hundreds /etc/pacman.d/mirrorlist.pacnew’s proposed by Arch.
I upgrade Antergos several times a day with one command:
rd is an alias, which stands for refresh distro:
alias rd='sudo reflector --age 8 --fastest 128 --latest 64 --number 32 --sort rate --save /etc/pacman.d/mirrorlist && yaourt -Syyua && sync && sudo pacman -Scc && sync'
The rd command:
- runs reflector, which
- finds the mirrors updated in last 8 hours
- sorts them by download rate (speed)
- selects the best 128 from them
- from those 128 selects 64 updated most recently
- from those 64 takes the best | fastest 32
- writes the ready-to-use /etc/pacman.d/mirrorlist
- yaourt upgrades
- all installed packages from regular Antergos and Arch repos
- all installed AUR packages
- synchronizes all writes | changes to disks
- cleans pacman’s cache
You could create a re alias, and run it by hand from time to time:
alias re='sudo reflector --age 8 --fastest 128 --latest 64 --number 32 --sort rate --save /etc/pacman.d/mirrorlist'
Or you could schedule reflector’s execution, as suggested by @d_K earlier.