I understand that it is generally recommended to always upgrade Debian sequentially. For example upgrade Debian Jessie (8) to Stretch (9) and then to Buster (10). But I couldn't find any clear instructions on how to do this exactly.
Is it sufficient to edit APT's source-list files (
/etc/apt/sources.list and files under
/etc/apt/sources.list.d/) to refer to my target release version while following the upgrade instructions in the release notes?
E.g. to upgrade from Jessie to Stretch I'd replace every reference to
stable, ...) with
stretch and perform the upgrade? And afterwards again replace
buster and perform the next upgrade?
Answers to other questions here like Upgrade Debian Jessie (8) to Buster (10) possible or need to go sequential in versions upgrades? only explain that it is recommended to upgrade sequentially but don't explain how. Maybe this is really obvious and I just lack the experience.
I'm a little worried that
apt-get dist-upgrade might directly upgrade from Jessie to Buster leaving out Stretch.
Kind regards :)