Outils pour utilisateurs

Outils du site


articles:upgrade_debian_from_buster_to_bookworm_11_-_12

Ceci est une ancienne révision du document !


Upgrade Debian from Buster to Bookworm (11 -> 12)

Debian Linux 12 “Bookworm” has been released. As of 23/July/2023, Debian 12.6 point was released on the 29 june 2024. The new version offers updated packages and five years of support. This page provides a step-by-step guide to updating Debian 11 Bullseye to Debian 12 Bookworm using command-line options, including upgrading all installed packages.

Upgrade Debian 11 to Debian 12 Bookworm

The procedure is as follows:

  1. Backup the system.
  2. Update existing packages and reboot the Debian 11 system.
  3. Edit the file /etc/apt/sources.list using a text editor and replace each instance of bullseye with bookworm. Next find the update line, replace keyword bullseye-updates with bookworm-updates. Finally, search the security line, replace keyword bullseye-security with bookworm-security.
  4. Update the packages index on Debian Linux, run:

    sudo apt update

  5. Prepare for the operating system minimal system upgrade, run:

    sudo apt upgrade --without-new-pkgs

  6. Finally, update Debian 11 to Debian 12 Bookworm by running:

    sudo apt full-upgrade

  7. Reboot the Linux system so that you can boot into Debian 12 Bookworm
  8. Verify that everything is working correctly.

Let us see all commands step by step to upgrade Debian 11 Bullseye to Debian 12 Bookworm safely running in the cloud or bare metal environment.

articles/upgrade_debian_from_buster_to_bookworm_11_-_12.1724053170.txt.gz · Dernière modification : 2024/08/19 09:39 de frater