Thread

  1. BUG #18861: Not able to download rpm package

    PG Bug reporting form <noreply@postgresql.org> — 2025-03-21T10:52:26Z

    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
    
    
  2. Re: BUG #18861: Not able to download rpm package

    Devrim Gündüz <devrim@gunduz.org> — 2025-03-25T07:53:00Z

    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
    
  3. Re: BUG #18861: Not able to download rpm package

    Tom Lane <tgl@sss.pgh.pa.us> — 2025-03-25T07:59:15Z

    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:
    
    https://www.postgresql.org/message-id/9ADA1715-8208-4212-B352-D9AD2A1DE20F%40thebuild.com
    
    			regards, tom lane