I'm working on setting up PostgreSQL13 and pgAdmin4 on Amazon Linux Workspace. It seems that Amazon Linux workspace is using Amazon Linux 2. The installation of PostgreSQL went really quick, but for pgAdmin4 I've been struggling for hours and without any success. Until now I've tried to folow the steps from the official page: https://www.pgadmin.org/download/pgadmin-4-rpm/ , but the issue that I've encounter is :
failure: repodata/repomd.xml from pgAdmin4: [Errno 256] No more mirrors to try.
https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/redhat/rhel-2-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
, it seems that file does not exist on that repo. RedHat is suggesting:https://access.redhat.com/solutions/2850911 in cases like this to modify the repo_gpgcheck to 0 and through magic everything will work, but that was not the case for me. The repo_gpgcheck is for:
Either `1' or `0'. This tells yum whether or not it should perform a GPG signature check on the repodata. When this is set in the [main] section it sets the default for all repositories. The default is `0'.
And if I'm doing a search through all existing repositories:
sudo yum -v search pgadmin
, the only version found was pgadmin3 in epel repo.
If someone managed to install pgAdmin4 on Amazon Linux 2, please share your secret. Thanks in advance!