cannot install PG on Oracle Linux 9

Поиск
Список
Период
Сортировка
Искать

cannot install PG on Oracle Linux 9

От:
Pierre Forstmann <pierre.forstmann@gmail.com>
Дата:
Hello,

Using

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:

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



Re: cannot install PG on Oracle Linux 9

От:
hubert depesz lubaczewski <depesz@depesz.com>
Дата:
On Thu, Oct 22, 2026 at 02:11:02PM +0200, Pierre Forstmann wrote:
> Hello,
> 
> Using
> PostgreSQL: Linux downloads (Red Hat family)
> 

You might want to check https://yum.postgresql.org/contact/
- specifically mail your problem to better list. Or (apparently
preferably) make a ticket.

Sorry I can't help more, but this might mean you will get help faster.

Best regards,

depesz



Re: cannot install PG on Oracle Linux 9

От:
Devrim Gunduz <devrim@gunduz.org>
Дата:
Hi Pierre,

We don't support Oracle Linux, but this problem is an OS bug. See this:

<https://redhat.atlassian.net/browse/RHEL-276555>

Regards, Devrim


On 22 October 2026 14:11:02 CEST, Pierre Forstmann <pierre.forstmann@gmail.com> wrote:
Hello,

Using

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:

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



FAQ