In a way my question is an inversion of this question.
I'm trying to do
sudo apt-get install jags from the terminal, and it selects mirrors close to me, but then it says "Not Found".
I'd like to select a mirror that isn't close to me, but which actually works. Can I do that?
This seems to point at a solution, but it won't work for me because I can only access the terminal.