First be sure you have your bookworm full-updated.
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -yAfter than, you need to change the name of the sources at /etc/apt/sources.list
sudo sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sudo find /etc/apt/sources.list.d -type f -exec sed -i 's/bookworm/trixie/g' {} \;Now make another full-upgrade
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -yNow you need to reboot
sudo rebootNow you should remove all old packages from bookworm
sudo apt autoremove --purge
sudo apt clean As simple as this.. as fast as your machine is :)