The picture says that PostgreSQL 14 is not working more, and I must upgrade to postgresql-15 and postgresql-client-15 and upgrade it clusters with order pg_upgradecluster:
The PostgreSQL 14 version is deprecated, but the PostgreSQL package
client or server are still installed. You must install the
latest versions of the packages (postgresql-15 and
postgresql-client-15) and update your clusters with the command
pg_upgradecluster (see the man page).
Note that installing postgresql-15 will create
automatically a default cluster 15/main. You have to delete the
existing cluster 15 (pg_dropcluster --stop 15) if you want to update
the 14/main cluster, see the man page for the
details.
The old client and server packages are no longer supported.
You should remove the packages postgresql-14 and postgresql-client-14
after upgrading any clusters you have.
For more information see
/usr/share/doc/postgresql-common/README.Debian.gz
If you didn't use postgres so far, just click "accept" and continue your upgrade.
Upgrade your postgreSQL Database from 14 to 15 on Debian
see Upgrade your postgreSQL Database from 14 to 15 on Debian
Or you dump and re-import your data with
sudo -u postgres pg_dumpall --cluster 14/main > ~/backup_postgres_all_dbs.tar
sudo -u postgres psql -d postgres --cluster 15/main -f ~/backup_postgres_all_dbs.tar
see https://unix.stackexchange.com/a/707827/20661