During updating to Debian 12, installer left postgresql-13 with info to manually upgrade.
postgresql-13
apt install postgresql-15 pg_dropcluster --stop 15 main pg_upgradecluster 13 main