PDA

View Full Version : how do I remove bad apt sources?



KnoppixDawg
07-09-2004, 06:58 AM
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 :D

arkaine23
07-09-2004, 03:30 PM
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

KnoppixDawg
07-10-2004, 07:41 AM
Thanks arkaine23,

I'll give that a shot 8)

tr
07-10-2004, 06:21 PM
vi /etc/apt/sources.list

I'd use mc (Midnight Commander) instead of vi editor ;)

KnoppixDawg
07-10-2004, 10:16 PM
I prefer nano, but removing the failed apt sources did the trick :D

Thanks again