Hello,

Using
PostgreSQL: Linux downloads (Red Hat family)
<https://www.postgresql.org/download/linux/redhat/>

I 'm  trying to install Postgresql 18 and 16 on :

[root@oracle9 ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.8"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:8:server"
HOME_URL="https://linux.oracle.com/";
BUG_REPORT_URL="https://github.com/oracle/oracle-linux";

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.8
[root@oracle9 ~]#


If I try:

# Install the repository RPM:
sudo dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm


I get:

[root@oracle9 ~]# dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
Oracle Linux 9 EPEL Packages for Development (x86_64)
                                                    18 kB/s | 4.2 kB
00:00
Oracle Linux 9 BaseOS Latest (x86_64)
                                                    28 kB/s | 4.3 kB
00:00
Oracle Linux 9 Application Stream Packages (x86_64)
                                                    30 kB/s | 4.5 kB
00:00
PostgreSQL common RPMs for RHEL / Rocky Linux / AlmaLinux 9. - x86_64
                                                   481  B/s | 146  B
00:00
Errors during downloading metadata for repository 'pgdg-common':
  - Status code: 404 for
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-9.-x86_64/repodata/repomd.xml
(IP: 151.101.207.52)
Error: Failed to download metadata for repo 'pgdg-common': Cannot download
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@oracle9 ~]#

It looks like the path is wrong ?

Thanks

PF

Reply via email to