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

RE: A warning how not to upgrade from Lenny to Squeeze



----Original Message----

> 
> I then tried "apt-get -f install", several times, which seemed to
> clear up a lot of things. Eventually my repeated "apt-get -f install"
> commands were just giving me the same udev error message. Apparently
> udev and the kernel need to be updated at the same time, but none of
> the tools would let me install the new kernel and udev (too many
> broken packages at the same time I think).

This process has worked well for me:

==================================================

 sed -i s/lenny/squeeze/ /etc/apt/sources.list
 aptitude update
 aptitude install linux-image-2.6-686 (or amd64, etc.)

 **reboot**

 aptitude full-upgrade

===================================================

I've done it with several headless servers (no X) and it has worked extremely well.  You can install the new kernel without installing the new udev, but you can't install the udev without having the new kernel running.

I've also done this with three different KDE desktops.  On two of the machines it worked very well and KDE was upgraded with everything else.  On the third machine aptitude insisted on removing KDE, and I had to re-install it after getting the rest of Squeeze running again.  I was not able to figure out what broke KDE on the third desktop. (And I don't use Gnome so can't tell you how that goes.)

But essentially to go from Lenny to Squeeze, make sure you get the Squeeze kernel up and running before you try to upgrade anything else and things will go MUCH better.


James Z

Reply to: