Upgrade Debian Lenny to Squeeze

To update from debian lenny to squeeze (currently testing) you simply need to change your sources list to read squeeze for the distribution version.

cp /etc/apt/sources.list /etc/apt/sources.list.old

gedit /etc/apt/sources.list

Replace stable/lenny with squeeze. Best to have squeeze as aposed to testing so you don’t upgrade to the new testing when squeeze is made stable.  Then perform the following commands.
aptitude update

aptitude install apt dpkg aptitude

aptitude full-upgrade

aptitude clean

aptitude autoclean

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s