# NOTE Please refer to the official debian documentation for upgrading to the release in question. This page only serves and quick notes on the process. # Update Apt Sources First, update your apt sources list to point to the new debian version. 1. Open `/etc/apt/sources.list` and any files in `/etc/apt/sources.list.d` 2. `s/CURRENT_VERISON/NEW_VERSION/` 3. Run `apt update` # Verify free disk space Required disk space for the update can be printed by running `apt -o APT::Get::Trivial-Only=true full-upgrade`. # Run the update 1. Install updates for currently installed packages: `apt upgrade --without-new-pkgs` 2. Install all updates: `apt full-upgrade` 3. Reboot: `reboot` 4. Remove obsolete packages: `apt purge '?obsolete'` 5. Remove unnecessary packages: `apt autoremove`