Обсуждение: BUG #17082: Status code: 404 for https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/repodata/rep

Поиск
Список
Период
Сортировка
The following bug has been logged on the website:

Bug reference:      17082
Logged by:          dawn rybchynski
Email address:      dawn_rybchynski@gov.nt.ca
PostgreSQL version: 12.5
Operating system:   RHEL 8
Description:

I am attempting to install a new instance of PostgreSQL on a new RHEL 8.4
server.
I am following the instructions on page
https://www.postgresql.org/download/linux/redhat/ .
Version: 12
Platform: Red Hat Enterprise,  ...
Architecture: x86_64

This is what happens when I try to run the first provided command:
$ sudo dnf install -y
https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64/postgresql12-12.5-1PGDG.rhel8.x86_64.rpm
Updating Subscription Management repositories.
Install latest repo
                                                        107  B/s | 162  B
 00:01
Errors during downloading metadata for repository
'pgdg-redhat-repo-latest.noarch.rpm':
  - Status code: 404 for
https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/repodata/repomd.xml
(IP: 147.75.85.69)
Error: Failed to download metadata for repo
'pgdg-redhat-repo-latest.noarch.rpm': Cannot download repomd.xml: Cannot
download repodata/repomd.xml: All mirrors were tried

I have navigated to:
https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/
in a Google Chrome browser and it is true, there is no directory called
"repodata" there. 

Thank you,
Dawn


Hi,

On Fri, 2021-07-02 at 21:17 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference:      17082
> Logged by:          dawn rybchynski
> Email address:      dawn_rybchynski@gov.nt.ca
> PostgreSQL version: 12.5
> Operating system:   RHEL 8
> Description:       
>
> I am attempting to install a new instance of PostgreSQL on a new RHEL
> 8.4 server.
> I am following the instructions on page
> https://www.postgresql.org/download/linux/redhat/ .
> Version: 12
> Platform: Red Hat Enterprise,  ...
> Architecture: x86_64
>
> This is what happens when I try to run the first provided command:
> $ sudo dnf install -y
> https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64/postgresql12-12.5-1PGDG.rhel8.x86_64.rpm

FWIW, that page does not provide you that command. Not even the first,
nor even the n'th. You made that up.

> Updating Subscription Management repositories.
> Install latest
> repo                                                        
>                                                         107  B/s | 162 
> B  
>  00:01
> Errors during downloading metadata for repository
> 'pgdg-redhat-repo-latest.noarch.rpm':
>   - Status code: 404 for
> https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/repodata/repomd.xml
> (IP: 147.75.85.69)
> Error: Failed to download metadata for repo
> 'pgdg-redhat-repo-latest.noarch.rpm': Cannot download repomd.xml:
> Cannot
> download repodata/repomd.xml: All mirrors were tried
>
> I have navigated to:
> https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/
> in a Google Chrome browser and it is true, there is no directory called
> "repodata" there.

Just follow the commands listed in
https://www.postgresql.org/download/linux/redhat/ before submitting any
actual report. There is zero change you 'll get this message unless you
are doing some manual stuff that you don't mention us here.


Thanks.

--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Вложения