Upgrade from Debian Lenny to Squeezy

Now that Debian Squeezy has officially been released, here’s how to upgrade from Lenny to Squeeze (at least how I’m doing it):

  1. Edit you /etc/apt/sources.list and replace the lenny entries with squeeze
  2. Run aptitude update
  3. Run aptitude install apt dpkg aptitude
  4. Run aptitude safe-upgrade
  5. Run aptitude full-upgrade
  6. After rebooting and checking the grub chainload into grub2 was successfull, run upgrade-from-grub-legacy

The only problem I’ve encountered was with the MySQL Server upgrade from 5.0 to 5.1, it just simply fails. But I’ve upgraded a machine two weeks ago, so I don’t know if the problem has been resolved.

1 thought on “Upgrade from Debian Lenny to Squeezy

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s