We will assume that we want upgrade from etch (older stable) to lenny (current stable):
- Edit file /etc/apt/sources.list and replace substituimos todas las ocurrencias de ecth por lenny:
sudo vi /etc/apt/sources.list
- Repositories updating:
sudo aptitude update
- Upgrading the management tools Debian packages: sudo aptitude install apt dpkg aptitude
- Upgrading all the system:
sudo aptitude full-upgrade