Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5055

Raspberry Pi OS • Re: Please remove broken mirror from mirrorbrain (2024)

$
0
0
(I assume that what you are talking about is when you try to do an "apt update" or "apt upgrade" and it figures out what the nearest mirror is, but that mirror is down, so it just errors out instead of trying another mirror. Is that right?)

Assuming so, yes, I've had a similar situation. I think I fixed it by adding a line in my /etc/hosts file like this:

w.x.y.z badmachine.com

where w.x.y.z is the IP address of a known good mirror (goodmachine). Then, when the apt system tries to access badmachine, it goes to goodmachine.

This works, but is obviously a kludge.

There should be a way to just tell it "Don't use badmachine".

Statistics: Posted by BigRedMailbox — Tue Aug 20, 2024 5:58 pm



Viewing all articles
Browse latest Browse all 5055

Trending Articles