How to edit Debian apt-get sources file?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Sun Jan 25 20:48:25 UTC 2004


On Sun, Jan 25, 2004 at 01:39:55PM -0500, Walter Dnes wrote:
>   I obviously have some problems.  First is a complaint about duplicate
> sources...

Not turprising given the duplicated lines in sources.list

[snip]

>   Second, I can't connect to ftp://mirror.direct.ca so I may as well
> drop them as a source.
> 
> Err ftp://mirror.direct.ca stable/main Packages
>   Could not connect to mirror.direct.ca:21 (207.136.80.131), connection timed out
> 
>   Here is my sources.list (quoted to prevent wrapping).  Any ideas ?
> 
> > deb http://debian.yorku.ca/debian/ stable main non-free contrib
> > deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
> > deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
^-- non-us.debian.org listed here.
> > 
> > deb ftp://mirror.direct.ca/pub/linux/debian/ stable main non-free contrib
> > deb-src ftp://mirror.direct.ca/pub/linux/debian/ stable main non-free contrib
> > deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
> > deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
^-- I see non-us.debian.org here again.
> > 
> > deb http://security.debian.org/ stable/updates main contrib non-free

Remove one instance of the duplication and it should stop complaining.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list