Sample Header Ad - 728x90

Cannot install postgres on Centos 7 as signature cannot be verified/gpg keys not imported

0 votes
1 answer
441 views
I am currently trying to access a postgres 12 RDS on a private VPC through an EC2 instance on the same VPC, and in order to do so I am trying to install postgres on this instance (which is a Centos 7 AlmaLinux instance). After the initial attempt, I read that there are EOL and depreciation issues related to postgres 12 on Centos 7, so I followed the guide related to installing older versions of postgres on Centos 7 from here: https://yum.postgresql.org/repopackages/#pgredhatoldrepos However every time I try to yum install sudo yum install postgresql12-server postgresql12 I get the error: https://yum-archive.postgresql.org/12/redhat/rhel-7-x86_64/repodata/repomd.xml : [Errno 14] HTTPS Error 403 - Forbidden And when I try to access the link manually, it seems there is an error at the site. Is there simply no way to install postgres 12 on Centos 7 now? Or are there alternative ways? Also every time I try to install any single package that isn't even related to postgres, I still get the error above unless I explicitly tell yum to disable the repo like below: --disablerepo=pgdg12-archive Is this related? I posted a similar question in stackoverflow before I was redirected here because it would be more appropriate here. Thank you for the help in advanced.
Asked by ArthurS (1 rep)
Aug 17, 2024, 01:38 AM
Last activity: Aug 17, 2024, 02:11 AM