wrongecho It was an inplace upgrade when the repository changed from bullseye to bookworm to trixie.
Using stock repositories
# deb cdrom:[Debian GNU/Linux 11.7.0 Bullseye - Official amd64 NETINST 20230429-11:49]/ stable main
#deb cdrom:[Debian GNU/Linux 11.7.0 Bullseye - Official amd64 NETINST 20230429-11:49]/ stable main
deb http://deb.debian.org/debian/ stable main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ stable main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security stable-security main
deb-src http://security.debian.org/debian-security stable-security main
# stable-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ stable-updates main
deb-src http://deb.debian.org/debian/ stable-updates main