Thread: 'pgdg-common' -- install postgres repmgr
Hello,
I installed postgres 10 on RedHat 8 (using Redhat packages)
Ø sudo yum install @postgresql:10
I configured a replica with stream (master-slave), i want to try REPMGR (automatic failover) but i have some issus :
I added the repository:
https://yum.postgresql.org/repopackages.php
i have tried to install pgdg-redhat-repo-latest.noarch.rpm, but display an error: 'pgdg-common'
How i can solve it?
Below the display error:
Ø sudo yum install pgdg-redhat-repo-latest.noarch.rpm
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 36 kB/s | 2.4 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 - Supplementary (RPMs) 36 kB/s | 2.1 kB 00:00
Red Hat Satellite Tools 6.6 for RHEL 8 x86_64 (RPMs) 30 kB/s | 2.1 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 40 kB/s | 2.8 kB 00:00
Dependencies resolved.
=================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================
Installing:
pgdg-redhat-repo noarch 42.0-9 @commandline 10 k
Transaction Summary
=================================================================================================================================
Install 1 Package
Total size: 10 k
Installed size: 10 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : pgdg-redhat-repo-42.0-9.noarch 1/1
Verifying : pgdg-redhat-repo-42.0-9.noarch 1/1
Installed products updated.
Failed to download metadata for repo 'pgdg-common'
Uploading Tracer Profile
Thanks in advance.
| |||||||||||||||
|
Attachment
Hi, On Mon, 2020-06-22 at 11:34 +0000, CRISTINA ASENJO CUELLAR wrote: > Failed to download metadata for repo 'pgdg-common' I pushed a blind fix to this, will sync a few minutes. Please let me knnow if it does not work. Regards, -- Devrim
I have just tried it and there is the same error:
sudo dnf install pgdg-redhat-repo-latest.noarch.rpm
Updating Subscription Management repositories.
PostgreSQL common for RHEL/CentOS 8 - x86_64 0.0 B/s | 0 B 00:28
Failed to download metadata for repo 'pgdg-common'
Error: Failed to download metadata for repo 'pgdg-common'
Thanks.
| |||||||||||||||
|
De: Devrim Gündüz <devrim@gunduz.org>
Enviado el: martes, 23 de junio de 2020 11:18
Para: CRISTINA ASENJO CUELLAR <CASENJOCUELLAR@caser.es>; 'pgsql-pkg-yum@lists.postgresql.org' <pgsql-pkg-yum@lists.postgresql.org>
Asunto: Re: 'pgdg-common' -- install postgres repmgr
Hi,
On Mon, 2020-06-22 at 11:34 +0000, CRISTINA ASENJO CUELLAR wrote:
> Failed to download metadata for repo 'pgdg-common'
I pushed a blind fix to this, will sync a few minutes. Please let me knnow if it does not work.
Regards,
--
Devrim
Attachment
Hi, On Tue, 2020-06-23 at 10:15 +0000, CRISTINA ASENJO CUELLAR wrote: > Failed to download metadata for repo 'pgdg-common' Can you please try running dnf -qy disable module postgresql dnf -v install repmgr10 and paste the output? Regards, -- Devrim Gündüz Open Source Solution Architect, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR