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

Re: Upgrading from stable to testing with apt-get?



On Mon, 29 Dec 2003 16:21:40 -0500, Anthony DiSante wrote:

> Hello,
> ...and it makes me think that I can put lines into /etc/apt/preferences 
> and/or /etc/apt/apt.conf that will cause "apt-get upgrade" to upgrade me to 
> the testing release.  Is that correct?  If so, exactly what do I need to put 
> into those files?  Currently, neither of those files exist on my system.
> 

You need to edit the following file:  /etc/apt/sources.list

Comment out the lines for stable, and add the same lines (except the
"security" one), replacing "stable" with "sarge".  You could use "testing"
instead of "sarge", but "sarge" is safer:  when "sarge" becomes stable,
you won't suddenly get a huge upgrade as sid becomes testing.

Example (my file;  I'm running sarge(testing):

pooh:~# cat /etc/apt/sources.list
 
# deb http://ftp.us.debian.org/debian/ stable main non-free contrib
# deb-src http://ftp.us.debian.org/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
 
deb http://ftp.us.debian.org/debian/ sarge main non-free contrib
deb-src http://ftp.us.debian.org/debian/ sarge main non-free contrib
deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free


-- 
....................paul

It's working as coded.




Reply to: