BUG #15770: PostgreSQL rpm package got to be impossible to be installed in Amazon Linux 2

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: yuonoda95(at)gmail(dot)com
Subject: BUG #15770: PostgreSQL rpm package got to be impossible to be installed in Amazon Linux 2
Date: 2019-04-18 06:38:48
Message-ID: 15770-542ce1b64040c7c0@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15770
Logged by: Yu ONODA
Email address: yuonoda95(at)gmail(dot)com
PostgreSQL version: 11.2
Operating system: Amazon Linux release 2 (Karoo)
Description:

Hi there,

I'm installing PostgreSQL from RPM package here (
https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm
) to Amazon Linux 2. This package was successfully installed to the
environment a few days ago. But since the latest change at April 17th,
installing this package cause an error like this.

# yum install
https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
pgdg-centos11-11-2.noarch.rpm
| 5.6 kB 00:00:00
Examining /var/tmp/yum-root-WK8QVa/pgdg-centos11-11-2.noarch.rpm:
pgdg-redhat-repo-42.0-4.noarch
Marking /var/tmp/yum-root-WK8QVa/pgdg-centos11-11-2.noarch.rpm to be
installed
Resolving Dependencies
--> Running transaction check
---> Package pgdg-redhat-repo.noarch 0:42.0-4 will be installed
--> Processing Dependency: /etc/redhat-release for package:
pgdg-redhat-repo-42.0-4.noarch
amzn2-core
| 2.4 kB 00:00:00
205 packages excluded due to repository priority protections
--> Processing Dependency: /etc/redhat-release for package:
pgdg-redhat-repo-42.0-4.noarch
--> Finished Dependency Resolution
Error: Package: pgdg-redhat-repo-42.0-4.noarch
(/pgdg-centos11-11-2.noarch)
Requires: /etc/redhat-release
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

This should occur because I use Amazon Linux2. I'm still uncertain if this
is a bug or correct behaviour. I report this for your information.

Thanks,
Yu

Browse pgsql-bugs by date

  From Date Subject
Next Message Devrim Gündüz 2019-04-18 08:01:30 Re: BUG #15768: Removed rpms and now require /etc/redhat-release
Previous Message Fabrizio Mazzoni 2019-04-18 03:11:07 pgAdmin bug?