Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-08-2004, 01:48 AM   #1
LQ Newbie
Registered: Jun 2003
Distribution: Debian, Freebsd
Posts: 15

Rep: Reputation: 0
Going from testing to stable

I have a computer set up with the testing branch on it and eventually i may want to move it over to stable could i move it over when sarage freezes and moves to stable?
Old 02-08-2004, 07:09 AM   #2
Registered: Oct 2003
Location: sweden
Distribution: debian
Posts: 47

Rep: Reputation: 15
Yes, you can.
Edit the /etc/apt/sources.list and enter "stable" instead of "testing" wherever it says just that. It depends on which mirrors you are using however, but trying wont hurt you. Otherwise, go to and get some new mirrors, with the stable packages.

The problem with going from testing to stable, is that the testing packages has a mroe recent version number, and might create broken packages, since some applications still require the testing packages, some dont. There is no foolproof fix to that as far as I know however. Good Luck.
Old 02-08-2004, 08:40 AM   #3
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Just editing your sources.lit to point to stable instead of testing will not cause future upgrades to install packages from stable over top of your current ones. Any available package to install that has the highest version number gets precedence (unless you use package pinning). And the "available package" lists include not only your sources.list. but your currently installed packages. So, since the testing packages will basically always have either the same version number as stable or a greater version number, you will remain at testing.

The "easiest" (meaning not reinstalling and getting all the packages again) way of doing it would be to use package pinning (Google for "apt pinning" or "apt pins") to give the packages in stable a higher precedence than the ones in testing, so that even though they have the lower version number, that higher precedence will force them to downgrade anyway.
Old 02-08-2004, 01:13 PM   #4
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,619

Rep: Reputation: 104Reputation: 104
Re: Going from testing to stable

Originally posted by Bd22
I have a computer set up with the testing branch on it and eventually i may want to move it over to stable could i move it over when sarage freezes and moves to stable?
When Sarge is released you will be running stable there will be no need to move it over as you say. The only thing you will have to look out for is in your /etc/apt/sources.list if you use testing in the lines instead of sarge for your sources for example you have this:
# Testing
deb testing main non-free contrib
deb testing/non-US main contrib non-free
Instead of:
# Sarge
deb sarge main non-free contrib
deb sarge/non-US main contrib non-free
Which right now are one and the same thing but if you have the first lines then you will continue to track the testing branch when Sarge becomes the new stable release. With the second lines once Sarge is released as stable then you continue to run Sarge and it is now the stable release.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How stable is testing (Etch)? audiorevolution Debian 5 06-18-2005 02:03 PM
testing -> stable martine Debian 3 05-18-2005 10:46 AM
When Stable comes out, how do I switch from testing?? r3dhatter Debian 1 11-15-2004 07:44 PM
stable --> testing? koyi Debian 5 09-05-2004 10:03 AM
stable to testing,.??? ikkuh Debian 2 09-07-2003 07:53 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration