@joekamprad and others!
Ok, here’s the change Joe requested. You now have an option (–editor=X) to give your favourite editor in order to see the new generated mirrorlist before installing it. Also, the EDITOR environment variable is supported if you don’t use option --editor.
And the old mirrorlist is backed up to /etc/pacman.d/antergos-mirrorlist.bak.
Download the beast from:
you may use the --editor option like this:
so that editor options can also be given.
Now there’s a new version out! Check https://pastebin.com/Xipe1ETk
It should fix some problems, e.g.
- use Unix line endings!
- option names are modified, use the --help option
- works somewhat more reliably than the first version
- it is shorter (due to structural changes)
Try e.g. these 3 commands:
antergos-mirrorlist --help antergos-mirrorlist --exclude-countries=Automated,China,USA,Russia --exclude-mirrors=sourceforge --protocols=https,http antergos-mirrorlist
and look at the results in /etc/pacman.d/antergos-mirrorlist. You should see a new file /etc/pacman.d/antergos-mirrorlist.startingpoint (don’t delete it!).
Note that in the end of a run it asks you to give the root password because it puts the new file into /etc/pacman.d/.
I think the problem relates to some mirrors that are not working properly or are severly out of date. At least I noticed similar problems while exploring the generation of antergos mirrorlist.
Especially the sourceforge server seems to have outdated stuff; you should be ok with commenting out sourceforge in /etc/pacman.d/antergos-mirrorlist.