The repository 'http://apt.postgresql.org/pub/repos/apt 'lsb_release Release' does not have a Release file. delete code example
Example: E: The repository 'http://ppa.launchpad.net/webupd8team/atom/ubuntu focal Release' does not have a Release file. 404 error remove
sudo add-apt-repository --remove ppa:mc3man/trusty-media