[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question for sources.list



On 9/2/05, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
> 
> 
> roberto wrote:
> > Hello, i was using sarge-testing for my laptop but now that sarge is
> > stable should i modify my sources.list substituting "testing" with
> > "stable"??
> >
> > Here is my sources.list
> >
> > # Official Debian mirror
> > deb http://ftp.it.debian.org/debian/ testing main non-free contrib
> > deb-src http://ftp.it.debian.org/debian/ testing main non-free contrib
> > deb http://ftp.it.debian.org/debian-non-US/ testing/non-US main contrib non-free
> > deb-src http://ftp.it.debian.org/debian-non-US/ testing/non-US main
> > contrib non-free
> > deb http://ftp.it.debian.org/debian/ unstable main non-free contrib
> > deb http://ftp.it.debian.org/debian-non-US/ unstable/non-US main
> > contrib non-free
> > deb-src http://ftp.it.debian.org/debian/ unstable main contrib non-free
> > deb http://ftp.it.debian.org/debian/ ../project/experimental main
> > non-free contrib
> >
> ><<< munch >>>
> 
> yes you need to put
> 
> deb http://ftp...../debian/ stable main...
> deb-src http://,,,,/debian/ stable main ...
> 
> sources.list tells apt where to find the packages.
> 
> but you also need to edit /etc/apt/apt.conf
> and change the
> 
> APT::DefaultRelease line to
> 
> APT::DefaultRelease "stable"; [or "sarge"]
> 
> this tells apt which release to use.
> 
ok, thank you and i'll try to modify sources.list but i did not find
any /etc/apt/apt.conf only a directory /etc/apt/apt.conf.d/ with a
file "70debconf"


-- 
roberto
debian sarge, kernel 2.6.8



Reply to: