How to edit Debian apt-get sources file?

Paul Croft pjc-6duGhz7i8susTnJN9+BGXg at public.gmane.org
Sun Jan 25 20:48:30 UTC 2004


first you have 2 
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
non-free
lines, delete one, then run apt-get update......second, 
ftp://mirror.direct.ca stable/main Packages is not connecting for
whatever reason, server is down or maybe wrong URL.....

On Sun, 2004-01-25 at 13:39, Walter Dnes wrote:
>   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
> 

--
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