How did I fix «Err http://apt.postgresql.org/pub/repos/apt trusty-pgdg Release» / «404 Not Found [IP: 2a02:c0:301:0:ffff::27 80]» in Debian 10 (Buster)?

2023-08-08--00-32-53

I solved it by the replacement from «trusty» to «buster» in /etc/apt/sources.list: