# Upgrading a Samba domain controller from Debian12 Bookworm to Debian13 Trixie

- Update repositories configuration to replace bookworm with trixie :

      sed -i 's/bookworm/trixie/g' /etc/apt/sources.list /etc/apt/sources.list.d/*

- Update the host:

      apt-get update
      apt-get dist-upgrade

Hint

If you have an error during the dist-upgrade, you can use the command “apt –fix-broken install” to fix it.

- Restart the host:

      reboot

- Check the version of the Samba server:

      samba-tool --version