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

Re: question for sources.list





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.

A





Reply to: