pgdg repo will no longer install on Amazon Linux 2

From: Eric Joniec <eric(dot)joniec(at)plixer(dot)com>
To: "pgsql-pkg-yum(at)lists(dot)postgresql(dot)org" <pgsql-pkg-yum(at)lists(dot)postgresql(dot)org>
Subject: pgdg repo will no longer install on Amazon Linux 2
Date: 2019-04-18 14:12:23
Message-ID: BN8PR19MB2564D0929547DE93DF4D4DA798260@BN8PR19MB2564.namprd19.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hello,

pgdg-centos10-10-2.noarch.rpm used to work on Amazon Linux 2. Now it does not.
Please advise.

ec2-user]# rpm -ivh $PGRPMURL
Retrieving https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
warning: /var/tmp/rpm-tmp.iV70xQ: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
error: Failed dependencies:
/etc/redhat-release is needed by pgdg-redhat-repo-42.0-4.noarch

ec2-user]# rpm -ivh https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm
Retrieving https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm
warning: /var/tmp/rpm-tmp.pwbBZG: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
error: Failed dependencies:
/etc/redhat-release is needed by pgdg-redhat-repo-42.0-4.noarch

ec2-user]# cat os-release
cat: os-release: No such file or directory
[root(at)ip-172-18-1-65 ec2-user]# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL=https://amazonlinux.com/

Thank you

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Grigory Smolkin 2019-05-05 20:35:32 Submitting a package
Previous Message Gabriele Bartolini 2019-04-17 12:58:10 Re: New repo RPMs