PDA

View Full Version : Debian Sarge and sources.list


edge
27th August 2006, 14:14
I have the following in my sources.list


deb http://ftp.nl.debian.org/debian/ stable main
deb-src http://ftp.nl.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main


Now I want to add this:


deb http://security.debian.org/ stable/updates main contrib non-free
deb http://mirrors.kernel.org/debian/ stable main contrib non-free
deb-src http://mirrors.kernel.org/debian/ stable main contrib non-free
deb http://www.debian-multimedia.org/ stable main


Question.
Will / can this break the system, and how does apt-get know what version to get of a program when it's available on one of the deb's ?

Thank you.

falko
28th August 2006, 11:35
These 3 resources:

deb http://security.debian.org/ stable/updates main contrib non-free
deb http://mirrors.kernel.org/debian/ stable main contrib non-free
deb-src http://mirrors.kernel.org/debian/ stable main contrib non-free

contain packages from contrib and non-free, so they don't overlap with your other resources.
You have multiple entries for main then, but this doesn't hurt as they contain the same packages.

edge
29th August 2006, 11:40
So with a list like this I'm okay?


deb http://ftp.nl.debian.org/debian/ stable main
deb-src http://ftp.nl.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main

deb http://security.debian.org/ stable/updates main contrib non-free
deb http://mirrors.kernel.org/debian/ stable main contrib non-free
deb-src http://mirrors.kernel.org/debian/ stable main contrib non-free
deb http://www.debian-multimedia.org/ stable main

falko
30th August 2006, 16:47
I think so. :)