How to upgrade our Debian 11 (Bullseye) based system to Debian 12 (Bookworm) major release (page 3)
After a successful reboot of the Debian 11 to 12 upgrade, we will perform a system health assessment and mandatory post-installation tasks on this page. We will verify that the new kernel and services are running, and then perform a thorough system cleanup to remove unnecessary dependencies and "orphaned" configuration files. We will demonstrate in detail how to restore previously disabled external package repositories (e.g. Ásbrú, Sublime Text) and how to fix errors (GPG keys, 404 paths) from the command line. Finally, we will use aptitude to find and selectively remove obsolete packages that are no longer in the Debian 12 repositories, thus ensuring complete system cleanliness and stability.