Re: Unable to install postgres from pgdg on centos 7

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Daniel Scott <danielscott886(at)googlemail(dot)com>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: Unable to install postgres from pgdg on centos 7
Date: 2018-10-30 11:12:12
Message-ID: 6c884e8055c4ecf41c38e4e0a847568f987919ca.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi,

On Mon, 2018-10-22 at 23:33 +0100, Daniel Scott wrote:
> Centos main repositories have up to version 9.2 of Postgresql
> I am trying to install any version >=9.5 from the pgdg repos
> I can successfully install the pgdg rpm
> However when I try to install anything I keep getting this error:
>
https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-2-x86_64/repodata/repomd.xml
> :
> [Errno 14] HTTPS Error 404 - Not Found
>
> Not sure why it's pointing to rhel-2-64 when I can clearly see on the repo
> this file lives at:
>
https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/repodata/repomd.xml
>
> Is this a problem on your side or is there something I can do? maybe edit
> the url in the rpm?

I'm not sure where the "-2" is coming from. It would either be 7 or 7.2. You
should edit the repo file.

Regards,

--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2018-10-30 11:17:10 Re: Oracle Linux 6 PostgreSQL 11 Support?
Previous Message Devrim Gündüz 2018-10-29 15:33:18 Re: pg11 centos7 postgis24 broken due to libgeos