E: The repository 'http://apt.postgresql.org/pub/repos/apt $(lsb_release Release' does not have a Release file. code example
Example: install postgresql ubuntu
sudo apt install postgresql postgresql-contrib
sudo apt install postgresql postgresql-contrib