This error is something I cannot find a way around -it fails anything now in APT!:
bern:~$ sudo apt list
E: Conflicting values set for option Signed-By regarding source https://apt.postgresql.org/pub/repos/apt/ noble-pgdg: /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc != /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg E: The list of sources could not be read.
/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc!= /usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg E: The list of sources could not be read.
the file created:
/etc/apt/sources.list.d/pgdg.list:
deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc]