Feature request: exclude mirrors using pacman-mirrors
Created by: feelotraveller
@fhdk suggested I make an issue here following a topic I made on the forum https://forum.manjaro.org/t/pacman-mirrors-exclude-mirror-s/47722 Feel free to amend the title if desired.
As background I use Protocols = https with no other restriction and then normally run sudo pacman-mirrors -f3 before updates. This gives me a pool of 30 plus mirrors from which generally 3 up to date mirrors are chosen.
The problem: Over a few months I have semi-regularly experienced 2 mirrors having a fast initial response times so that they get selected as fast mirrors but with subsequent slow download speeds, often to the point of timing out package downloads (10-50% occurence). (In the above thread another user mentioned experiencing similar behaviour with another mirror.)
I would like to be able to exclude these two specific mirrors while keeping my mirror pool dynamic.
The workaround suggested in that thread was to use /etc/hosts to block these mirrors. However when I reference them to 0.0.0.0 or 127.0.0.1 pacman-mirrors quite rightly throws an error 111 when trying to contact them so it is not ideal.