Skip to main content

Upgrading Debian Etch Machines to Lenny

First set your /etc/apt/sources.list to point to Lenny repositories:

deb lenny main contrib non-free
deb-src lenny main contrib non-free
deb lenny/updates main contrib non-free

Update your local cache and get the latest apt, aptitude and dpkg versions.
# aptitude update
# aptitude install apt dpkg aptitude

Perform a full-upgrade, which will finally update your machine from Etch to Lenny.
# aptitude full-upgrade