This page gives the directions on how to upgrade your Debian distribution
How to release upgrade your distribution
Upgrading from one stable release to the next (e.g. buster to bullseye) is done by following the release notes for your architecture. For most people with 32 bit systems that means the Release Notes for Intel x86. For most with 64 bit systems that means the Release Notes for AMD64.
Upgrades are done with the package management tool apt-get or apt, generally involves the following steps.
- Switch to tty via Ctrl+Alt+F3. Otherwise, your DE can freeze up during post-install and service restart period, leaving the system in a broken state.
- Execute the following
$ sudo apt clean $ sudo apt update $ sudo apt upgrade # For regular/minor upgrades $ sudo apt dist-upgrade # For major release upgrades only $ sudo apt autoremove $ /sbin/shutdown -r now # Reboot to make changes effective (optional)
Now check uname -a and you should see info about the upgraded system.