How do I upgrade from Debian Lenny to Squeeze?

~ 0 min
25-05-2011 20:38

Here you go:
(please do that in textmode and not in your GUI, so KDE or whatever can be restarted without any issues)


  • vi /etc/apt/sources.list
    (change lenny to squeeze)
    Should look like this:
    deb squeeze main contrib non-free
    deb squeeze/updates main contrib non-free
    deb squeeze-updates main contrib non-free
  • aptitude update
  • aptitude install apt dpkg aptitude
    (accept the first solution, it is usually fine)
  • aptitude full-upgrade
    (read through the suggestion, but the first one is usually the best)
  • aptitude upgrade


Average rating 0 (0 Votes)

You cannot comment on this entry