pgdg repo will no longer install on Amazon Linux 2 - Mailing list pgsql-pkg-yum

From Eric Joniec
Subject pgdg repo will no longer install on Amazon Linux 2
Date
Msg-id BN8PR19MB2564D0929547DE93DF4D4DA798260@BN8PR19MB2564.namprd19.prod.outlook.com
Whole thread Raw
List 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@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

pgsql-pkg-yum by date:

Previous
From: Gabriele Bartolini
Date:
Subject: Re: New repo RPMs
Next
From: Grigory Smolkin
Date:
Subject: Submitting a package