On Wednesday 23 February 2011 15:26:12 Alex Declent wrote:
> is it so simple
> 
> aptitude update
> aptitude upgrade
> 
> and squeeze/sid becomes stable?

I'm assuming you have a system that claims to be "Debian squeeze/sid" and you 
want to make it be running "Debian Squeeze (6.0)".  (If that's not what you 
mean, and you actually have a mixed system, I'll get to that later.)

The only time Debian claim(ed) to be squeeze/sid was when you were running 
squeeze while it was testing.

Before you do an update (to save bandwidth) and before you do an upgrade or 
full-upgrade you need to make sure you sources.list is correct.  If you want 
testing -- which will claim to be "wheezy/sid" by now -- use "testing".  If 
you want to run Debian Squeeze, which is a stable release now -- use 
"squeeze".

After that you can _probably_ just do an update, upgrade, full-upgrade, 
reboot.  That said, I don't know how old your "oldtesting" packages are.  
You'll want to at least skim the release notes.  Your upgrade may include 
none, some, or all of the issues there and maybe even some new ones.  It is 
relatively easy to test Lenny -> Squeeze upgrades, since the packages in Lenny 
are mostly fixed.  Each Squeeze (testing) -> Squeeze (stable) upgrade is 
different, depending on when the last time you updated your testing.

---

If you are running a mixed squeeze / sid system, you are probably well served 
by adding wheezy / testing in there to ease some of the transitions, if you 
want to stay there.  Moving such an installed to "just" squeeze is tricky.  
Downgrades of installed packages are impossible, so each package you've pulled 
from sid is a potential stumbling block.  First remove sid / unstable from 
your sources.list.  Then, perform the update, upgrade, full-upgrade dance.  
Now *purge* every package where the installed version is not the stable 
version (aptitude purge '~S~i!~A^stable$').  If that causes dependency 
problems or removes essential packages or just plain doesn't work, you'll have 
to reinstall; downgrading is not always possible.

---

oldstable, stable, testing, unstable, experimental, any active codenames and 
the associated -updates and -proposed-updates repositories are all on the same 
mirror set.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
b...@iguanasuicide.net                  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to