Amazon Linux RPM Changes

From: Jason Petersen <jason(at)citusdata(dot)com>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Amazon Linux RPM Changes
Date: 2016-10-06 20:00:29
Message-ID: BE864176-DBD6-4A8F-93F9-4973813DA524@citusdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

We install PGDG as part of a CloudFormation template we offer to construct and configure a cluster on EC2. The template included installation of the pgdg-ami201503-95-9.5-2.noarch.rpm package directly from a PGDG URL.

Unfortunately, this package was removed, causing deployment issues for users of our template. While I understand replacing it with the -3 variant (which uses HTTPS URLs), I don’t understand why older versions were removed. In every other Red Hat OS, they remain; seemingly only the Amazon Linux variants were removed.

Why were the older Amazon repo RPMs removed, and what is the policy going forward on their removal?

Solution?

I noticed one of the OSes has a -latest.rpm variant. If this could be provided for all OSes, it makes installation much simpler (it could be implemented by a symlink). We’ve had to write our own scripts (here <https://github.com/citusdata/packaging/blob/b5c005ad507d30ff419908f66a47b466623df48d/update_dockerfiles#L20-L35> and here <https://github.com/citusdata/packaging/blob/0c70a0b65122b2afae9dc30cc6b13ad9ce9490cd/community/rpm.sh#L107-L146>) to ensure we have the “right” version for a given Red Hat OS. Being able to append -latest.rpm to all URLs would be a fantastic improvement and let us remove this knowledge from our codebase.

--
Jason Petersen
Software Engineer | Citus Data
303.736.9255
jason(at)citusdata(dot)com

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jason Petersen 2016-10-06 20:04:27 PostgreSQL Minor Release Retention Policy
Previous Message Devrim Gündüz 2016-10-06 11:37:37 Re: Broken python3-psycopg2 for F24 / PG 9.6