Re: apt-get update question
On Fri, Jan 09, 2004 at 10:48:12AM +0800, Stephen Liu wrote:
> Following is the content of /etc/apt/sources.list in my Debian box
>
> #deb copy:///cdrom/ sarge main
>
> deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official NetInst Snapshot i386
> Binary-1 (20031118)]/ unstable contrib main
>
> deb ftp://ftp.debian.org/debian/ testing main
> deb-src ftp://ftp.debian.org/debian/ testing main
>
> deb http://security.debian.org/ stable/updates main contrib
>
> deb ftp://ftp.debian.org/debian/ stable main contrib
> deb-src ftp://ftp.debian.org/debian/ stable main contrib
I recommend against putting multiple distributions in sources.list. It
tends to result in much confusion, and particularly stable+testing
doesn't buy you very much: it certainly doesn't buy you stability.
> If I expect update only taking effect on "testing main" whether I have to
> comment out;
> # deb http://security.debian.org/ stable/updates main contrib
> # deb ftp://ftp.debian.org/debian/ stable main contrib
> # deb-src ftp://ftp.debian.org/debian/ stable main contrib
>
> And if I expect update only taking effect on "stable main" whether I have to
> comment out;
> # deb ftp://ftp.debian.org/debian/ testing main
> # deb-src ftp://ftp.debian.org/debian/ testing main
Well, yes. So what's your actual question? :)
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: