Custom mirror list seems to be not respected
Something doesn't seem to work as designed with latest changes regarding custom mirror selection.
When I run
pacman-mirrors -gic Germany
and select just netzspielplatz as my custom mirror, resulting /etc/pacman.d/mirrorlist contains
## Manjaro Linux Custom mirrorlist
## Generated on 20 March 2017 22:16
##
## Use 'pacman-mirrors -c all' to reset
##
## Country : Germany
Server = ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/unstable/$repo/$arch
## Country : Germany
Server = http://ftp.tu-chemnitz.de/pub/linux/manjaro/unstable/$repo/$arch
## Country : Germany
Server = http://mirror.ragenetwork.de/manjaro/unstable/$repo/$arch
## Country : Germany
Server = ftp://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/unstable/$repo/$arch
## Country : Germany
Server = http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/unstable/$repo/$arch
## Country : Germany
Server = ftp://ftp.halifax.rwth-aachen.de/manjaro/unstable/$repo/$arch
## Country : Germany
Server = http://ftp.halifax.rwth-aachen.de/manjaro/unstable/$repo/$arch
## Country : Germany
Server = https://mirror.netcologne.de/manjaro/unstable/$repo/$arch
## Country : Germany
Server = http://repo.stdout.net/manjaro/unstable/$repo/$arch
## Country : Germany
Server = https://repo.stdout.net/manjaro/unstable/$repo/$arch
## Country : Germany
Server = https://mirror.netzspielplatz.de/manjaro/packages/unstable/$repo/$arch
## Country : Germany
Server = https://repo.rhindon.net/manjaro/unstable/$repo/$arch
## Country : Germany
Server = http://manjaro-mirror-a.alpix.eu/unstable/$repo/$arch
## Country : Germany
Server = https://manjaro-mirror-a.alpix.eu/unstable/$repo/$arch
and I get a /var/lib/pacman-mirrors/custom-mirrors.json like this:
[
{
"country": "Germany",
"protocols": [
"https"
],
"url": "https://mirror.netzspielplatz.de/manjaro/packages/"
}
However when I run pacman -Syu
now, I can tell by the sync time that netzspielplatz is certainly not being used as the primary or only mirror.
As soon as I edit /etc/pacman.d/mirrorlist manually and remove all unwanted mirrors, I see the desired result and apparently only now my custom mirror is being used as the only one.