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UG #14272: baseurl is wrong in pgdg-96-redhat.repo

From
Devrim Gündüz
Date:
Hi,

On Mon, 2016-08-01 at 04:13 +0000, tylerjtomlinson@gmail.com wrote:
> Steps to repro:
> 1) Install 
> http://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-re
> dhat96-9.6-1.noarch.rpm
>
> 2) /etc/yum.repos.d/pgdg-96-redhat.repo shows
> baseurl=[redacted]/rhel-$releasever-$basearch
>
> yum-debug-dump shows that $releasever evaluates to '6Server' on RHEL 6.8,
> which doesn't exist on the PGSQL mirror. Changing it manually to '6'
> (baseurl=[redacted]/rhel-6-$basearch) corrects the problem and allows
> packages to be installed.

Thanks for the report. Fixed it in master repo. It will sync to download
servers in next hour.

Regards,
--
Devrim GÜNDÜZ
Sales Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR