Thread: BUG #18253: aarch64 oel 7 repomd.xml: [Errno 14] HTTPS Error 404

BUG #18253: aarch64 oel 7 repomd.xml: [Errno 14] HTTPS Error 404

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      18253
Logged by:          happy go
Email address:      happygo@duck.com
PostgreSQL version: 16.0
Operating system:   Oracle Linux ar
Description:

Hi,
I went through the following steps to install pg16 and found the
error:https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7Server-aarch64/repodata/repomd.xml:
[Errno 14] HTTPS Error 404 - Not Found

1.Select version:  16 
2.Select platform:  Red Hat Enterprise, CentOS, Scientific or Oracle version
7
3.Select architecture: aarch64
Copy, paste and run the relevant parts of the setup script:
# Install the repository RPM:
sudo yum install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-aarch64/pgdg-redhat-repo-latest.noarch.rpm

# Install PostgreSQL:
sudo yum install -y postgresql16-server

# Optionally initialize the database and enable automatic start:
sudo /usr/pgsql-16/bin/postgresql-16-setup initdb
sudo systemctl enable postgresql-16
sudo systemctl start postgresql-16
Copy Script

Linux instance-20211219-1950 5.4.17-2136.318.7.1.el7uek.aarch64 #2 SMP Thu
Apr 13 17:58:57 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux

[root@instance-20211219-1950 ~]# yum install postgresql16-server
Loaded plugins: langpacks, ulninfo
epel/aarch64/metalink

 | 8.0 kB  00:00:00
ol7_UEKR6

 | 3.0 kB  00:00:00
ol7_addons

 | 3.0 kB  00:00:00
ol7_developer_EPEL

 | 3.6 kB  00:00:00
ol7_ksplice

 | 3.0 kB  00:00:00
ol7_latest

 | 3.6 kB  00:00:00
ol7_oci_included

 | 2.9 kB  00:00:00
ol7_optional_latest

 | 3.0 kB  00:00:00
ol7_software_collections

 | 3.0 kB  00:00:00
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7Server-aarch64/repodata/repomd.xml:
[Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.


Re: BUG #18253: aarch64 oel 7 repomd.xml: [Errno 14] HTTPS Error 404

From
Laurenz Albe
Date:
On Wed, 2023-12-20 at 08:51 +0000, PG Bug reporting form wrote:
> PostgreSQL version: 16.0
> Operating system:   Oracle Linux ar
>
> I went through the following steps to install pg16 and found the
> error:https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7Server-aarch64/repodata/repomd.xml:
> [Errno 14] HTTPS Error 404 - Not Found

There are no packages for PostgreSQL v16 on RHEL7.
You'd have to upgrade the operating system.

Yours,
Laurenz Albe



Re: BUG #18253: aarch64 oel 7 repomd.xml: [Errno 14] HTTPS Error 404

From
happygo@duck.com
Date:
But when I installed PostgreSQL v16/15/14/13/12 on rhel7(aarch64), it still reported 404. Anyway, rhel7 (aarch64) can't install from https://www.postgresql.org/download/linux/redhat/ Yum Repository to install 12-16 version?
>ol7_software_collections/aarch64                                                                                                                                            | 3.0 kB  00:00:00
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7Server-aarch64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7Server-aarch64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-7Server-aarch64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-7Server-aarch64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-7Server-aarch64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-7Server-aarch64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

Laurenz Albe <laurenz.albe_at_cybertec.at_happygo@duck.com> 于2023年12月21日周四 15:27写道:
On Wed, 2023-12-20 at 08:51 +0000, PG Bug reporting form wrote:
> PostgreSQL version: 16.0
> Operating system:   Oracle Linux ar
>
> I went through the following steps to install pg16 and found the
> error:https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7Server-aarch64/repodata/repomd.xml:
> [Errno 14] HTTPS Error 404 - Not Found

There are no packages for PostgreSQL v16 on RHEL7.
You'd have to upgrade the operating system.

Yours,
Laurenz Albe