pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Jeremy Schneider <schneider@ardentperf.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Lewis Shobbrook <l.shobbrook@base2services.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Amazon Linux Support?
Date: Tue, 7 May 2019 22:09:25 -0700
Message-ID: <6D4BBFDF-4CA3-49D2-9296-3DFB2F831E2A@ardentperf.com> (raw)
In-Reply-To: <1086f04b-8ca7-971c-f451-8ec34c480007@aklaver.com>
References: <CAHWfuF8arHnp=qYUM7DNBfAH-UE7+DLoGvYDkVtBaGh6AT3g8Q@mail.gmail.com>
<1086f04b-8ca7-971c-f451-8ec34c480007@aklaver.com>
> On Apr 30, 2019, at 07:16, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
>> On 4/30/19 2:02 AM, Lewis Shobbrook wrote:
>> Hi Guys,
>> With the repo changes associated with the April 17 changes,
>> https://pgstef.github.io/2019/04/17/one_rpm_to_rule_them_all.html
>> It is evident that support for amazon linux has been dropped.
>> While you can try to use redhat pgdp packages, they are not
>> installable on Amazon Linux, giving the following error...
>> /etc/redhat-release is needed by pgdg-redhat-repo-42.0-4.noarch
>> I confident that the rest rpms available in the repo can be used by
>> Amazon linux, but the redhat-release dependency is painful for
>> automation with existing recipes such as postgresql in chef.
>> Before I invest the effort to produce a pull request to address this,
>> I wanted to confirm that amazon linux has been dropped and will no
>> longer, nor likely ever be supported for the rpms repo's, or is it
>> still on the road map?
>
> You will need a community account to see the issue:
>
> https://redmine.postgresql.org/issues/4205
>
> The relevant part:
>
> Updated by Devrim Gündüz 4 days ago
>
> "
> Hi,
>
> We dropped Amazon Linux support years ago, there were lots of compatibility issues. The new repo RPMs just reflect that.
>
> Please switch to a supported distro, or rebuild RPMs from SRPMS.
>
> Regards, Devrim
>
I've been using the rhel6 repo with AL without issue for a long time now. it looks like they added a new dependency that breaks this, but I recently tested this workaround and it seems to work:
`rpm -Uvh --nodeps https://download.postgresql.org/pub/repos/yum/testing/11/redhat/rhel-6-x86_64/pgdg-redhat11-11-2.noa...`
the other thing is that I do is a `s/$releasever/6/g` on `/etc/yum.repos.d/pgdg-*.repo` -- i have this all baked into some ansible scripts and my scripts are working fine just now when i spun up a new ec2/postgres test server
-Jeremy
Sent from my TI-83
view thread (5+ messages) latest in thread
Message-ID: <6D4BBFDF-4CA3-49D2-9296-3DFB2F831E2A@ardentperf.com> Permalink: ../6D4BBFDF-4CA3-49D2-9296-3DFB2F831E2A@ardentperf.com/ Also on: postgresql.org/message-id/6D4BBFDF-4CA3-49D2-9296-3DFB2F831E2A@ardentperf.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-general@postgresql.org Cc: schneider@ardentperf.com, adrian.klaver@aklaver.com, l.shobbrook@base2services.com Subject: Re: Amazon Linux Support? In-Reply-To: <6D4BBFDF-4CA3-49D2-9296-3DFB2F831E2A@ardentperf.com> References: <CAHWfuF8arHnp=qYUM7DNBfAH-UE7+DLoGvYDkVtBaGh6AT3g8Q@mail.gmail.com> <1086f04b-8ca7-971c-f451-8ec34c480007@aklaver.com> <6D4BBFDF-4CA3-49D2-9296-3DFB2F831E2A@ardentperf.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox