How to edit Debian apt-get sources file?

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Sun Jan 25 18:39:55 UTC 2004


  I obviously have some problems.  First is a complaint about duplicate
sources...

[13:04:14][/var/lib/iptables] apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
W: Duplicate sources.list entry http://non-us.debian.org
stable/non-US/main Packages
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages)
W: Duplicate sources.list entry http://non-us.debian.org
stable/non-US/contrib Packages
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://non-us.debian.org
stable/non-US/non-free
Packages
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

  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
> 
> 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
> 
> deb http://security.debian.org/ stable/updates main contrib non-free


-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
Email users are divided into two classes;
1) Those who have effective spam-blocking
2) Those who wish they did
--
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