BUG #18861: Not able to download rpm package

Started by PG Bug reporting formabout 1 year ago3 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 18861
Logged by: Nagalakshmi Thangavelu
Email address: nsthanga@gmail.com
PostgreSQL version: 17.4
Operating system: Rhel 9
Description:

Getting erro while running below code on Rhel 9 server . Please provide
option to for .tar.gz install

# 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

# Disable the built-in PostgreSQL module:
sudo dnf -qy module disable postgresql

# Install PostgreSQL:
sudo dnf install -y postgresql17-server

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

Error
Errors during downloading metadata for repository 'pgdg-common':
- Status code: 503 for
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-9-x86_64/repodata/repomd.xml
(IP: 72.32.157.246)
Error: Failed to download metadata for repo 'pgdg-common': Cannot download
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

#2Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: PG Bug reporting form (#1)
Re: BUG #18861: Not able to download rpm package

Hi,

On Fri, 2025-03-21 at 10:52 +0000, PG Bug reporting form wrote:

Error
Errors during downloading metadata for repository 'pgdg-common':
  - Status code: 503 for
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-9-x86_64/repodata/repomd.xml
(IP: 72.32.157.246)
Error: Failed to download metadata for repo 'pgdg-common': Cannot
download repomd.xml: Cannot download repodata/repomd.xml: All mirrors
were tried

Looks like a transient error. Works fine now.

Regards,
--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Devrim GÜNDÜZ (#2)
Re: BUG #18861: Not able to download rpm package

Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim@gunduz.org> writes:

On Fri, 2025-03-21 at 10:52 +0000, PG Bug reporting form wrote:

Errors during downloading metadata for repository 'pgdg-common':
- Status code: 503 for
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-9-x86_64/repodata/repomd.xml

Looks like a transient error. Works fine now.

Possibly the same flaky-firewall issue we've been contending with
for awhile now:

/messages/by-id/9ADA1715-8208-4212-B352-D9AD2A1DE20F@thebuild.com

regards, tom lane