Re: BUG #16566: Consistently link latest repo RPM release to pgdg-redhat-repo-latest (ref #16074)

From: Matt Saladna <matt(at)apisnetworks(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16566: Consistently link latest repo RPM release to pgdg-redhat-repo-latest (ref #16074)
Date: 2020-07-31 20:33:36
Message-ID: 3aa2b711-96f5-9ccd-e8b1-0bbf068b70f9@apisnetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

All other combinations of PostgreSQL + RHEL have a "latest" RPM that is
linked to -11. It is an inconsistency with how the repo is laid out for
PostgreSQL v12 and RHEL 8.

I brought this issue up in November as well (#16074), which was
acknowledged and fixed.

All of the following repos *contain both*
pgdg-redhat-repo-42.0-11.noarch.rpm and pgdg-redhat-repo-latest.noarch.rpm:

https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-8-x86_64/
https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-8-x86_64/
https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/
https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/
https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-7-x86_64/

The following repo *does not* contain pgdg-redhat-repo-latest.noarch.rpm:

https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64/

If pgdg-redhat-repo-latest.noarch.rpm is no longer supported, then I can
update my code that looks for "pgdg-redhat-repo-latest.noarch.rpm".
Based on the other locations having
"pgdg-redhat-repo-latest.noarch.rpm", it seems like a bug to me.

- Matt

On 7/31/2020 3:00 PM, Devrim Gündüz wrote:
> Hi,
>
> There is only one rpm for a distro. That -11 repo rpm internal release
> number.
>
> Maybe I should have bumped it to -42 as well.
>
> So, this is not an issue.
>
> Regards, Devrim
>
> On 31 July 2020 22:09:48 GMT+03:00, PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:
>
> The following bug has been logged on the website:
>
> Bug reference: 16566
> Logged by: Matt Saladna
> Email address: msaladna(at)apisnetworks(dot)com
> PostgreSQL version: 12.3
> Operating system: CentOS 8/RHEL 8
> Description:
>
> Hello,
>
> CentOS 8/RHEL 8 repo RPM is still inconsistently linked for v12. This was
> reported back in October, bug #16074 for v11/RHEL 8. The issue now is with
> v12 and RHEL 8 and related to a recent update as I haven't seen this for
> some time.
>
> rhel8/v11 (correct):
> - pgdg-redhat-repo-latest.noarch.rpm
> - pgdg-redhat-repo-42.0-11.noarch.rpm
>
> rhel7/v12 (correct):
> - pgdg-redhat-repo-latest.noarch.rpm
> - pgdg-redhat-repo-42.0-11.noarch.rpm
>
> rhel8/v12 (incorrect):
> - MISSING
> - pgdg-redhat-repo-42.0-11.noarch.rpm
>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-08-01 08:27:53 BUG #16568: pg_upgrade failed from 9.3 to 9.6
Previous Message Devrim Gündüz 2020-07-31 20:03:54 Re: BUG #16565: Systemd service file does not create /var/run/postgresql directory across reboot