I'd just edit the sources.list and stick a "#" in front of the line for any mirror that doesn't work.
vi /etc/apt/sources.list
Hello Everone,
I was wondering if there was a way to automaticly remove bad apt.sources from my list and replace it with a working mirror?
I am asking becuse when I run apt-get update apt fails to connect to some mirriors. Or do I just have to do this manually? :I have installed both apt-spy & apt-setup
Thanks very much![]()
I'd just edit the sources.list and stick a "#" in front of the line for any mirror that doesn't work.
vi /etc/apt/sources.list
Thanks arkaine23,
I'll give that a shot![]()
I'd use mc (Midnight Commander) instead of vi editorOriginally Posted by arkaine23
![]()
I prefer nano, but removing the failed apt sources did the trick![]()
Thanks again

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99
Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00
External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99
Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25
SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99
1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95
Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1539.00
Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47
Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$312.73
Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$34.99