-   Debian (
-   -   Debian Dist-upgrade questions (

matiasar 02-26-2010 06:31 AM

Debian Dist-upgrade questions
I'm about to do an upgrade, migrating from Lenny to Squeezy in my desktop boxes, both at work and home.
I did some search in LQ and I like to be sure if this would be the right procedure:

1) Put "squeezy" repos instead of "lenny" in /etc/apt/sources.list

2) Be sure Aptitude is up to date:

# apt-get update
# apt-get install apt dpkg aptitude

3) # aptitude keep-all

4) # aptitude safe-upgrade

5) # uptitude full-upgrade


Is that procedure correct?

As long as the kernel will be updated I think I'll need to recompile NVidia graphics modules. Right?

repo 02-26-2010 06:49 AM

I always did:
backup /etc/apt/sources.list
change lenny to squeeze

aptitude update
aptitude install apt dpkg aptitude
aptitude full-upgrade


As long as the kernel will be updated I think I'll need to recompile NVidia graphics modules. Right?

You can however do a fresh install from squeeze:

evo2 02-26-2010 07:23 AM

I usually do a safe-upgrade before a full-upgrade... it can reduce the number of packages in a potentially broken state if something goes wrong.


PS. I still think "upgrade" and "dist-upgrade" are better names than "safe-upgrade" and "full-upgrade"

zhjim 02-26-2010 07:37 AM

Heres the link from the debian website. Also it's about upgrading etch to lenny it's quite informative

Just to make sure I would always do a

apt-get update

before I'll change the source.list

craigevil 02-26-2010 08:32 AM

From the dpkg bot in #debian lenny->squeeze

Remove any APT source specific to stable (such as volatile), then s/lenny/squeeze/ on your sources.list and then aptitude update && aptitude install aptitude && aptitude safe-upgrade && aptitude full-upgrade. Also ask me about <d-d-a>, <apt-listchanges>, <testing>. Important: see
<squeeze udev>. Upgrading your kernel, rebooting then doing the safe-upgrade step might be a good plan at present.

As of <udev> 150 in squeeze, Linux kernel 2.6.27 or newer is required (i.e. upgrade kernel and udev at the same time). If udev installation fails and you already have a squeeze kernel installed, then reboot into the new kernel and "aptitude -f install ; aptitude safe-upgrade" to
If you use the nvidia driver you will need to install from sid.

matiasar 02-26-2010 09:59 AM

thanks folks for the tips!

matiasar 03-01-2010 06:01 AM

During weekend I did the upgrade from Lenny to squeezy, with Aptitude, following your advices. First I did it in a test box.
Udev issue appeared, as pointed by Craigevil.
Everything went OK, now I'm running Squeezy at home. Debian (and linux) is allways amazing and Debian developpers does a great job.

All times are GMT -5. The time now is 04:15 PM.