public inbox for [email protected]  
help / color / mirror / Atom feed
I'm trying to update postgres from 15.5 to 15.8. Got this error.
3+ messages / 3 participants
[nested] [flat]

* I'm trying to update postgres from 15.5 to 15.8. Got this error.
@ 2024-09-11 07:13  Pär Mattsson <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Pär Mattsson @ 2024-09-11 07:13 UTC (permalink / raw)
  To: Pgsql-admin <[email protected]>

[root@localhost]# yum update postgresql
Updating Subscription Management repositories.
PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64                                                                                                                     2.0 kB/s | 659  B     00:00
PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64                                                                                                                     1.6 MB/s | 1.7 kB     00:00
PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64                                                                                                                     1.0 kB/s | 659  B     00:00
Error: Failed to download metadata for repo 'pgdg-common': repomd.xml GPG signature verification error: Bad GPG signature


[root@vidi-db02 ~]# dnf list installed | grep postgres
postgresql15.x86_64                           15.5-1PGDG.rhel8                          @pgdg15
postgresql15-libs.x86_64                      15.5-1PGDG.rhel8                          @pgdg15
postgresql15-server.x86_64                    15.5-1PGDG.rhel8                          @pgdg15

Br Pär Mattsson

Kind regards,

Pär Mattsson
Database specialist
M +46706069645
E [email protected]

Cegal Sverige AB



Attachments:

  [image/png] 786a66aa-de7b-4a33-9715-db8c40a00784 (3.0K, 3-786a66aa-de7b-4a33-9715-db8c40a00784)
  download | view image

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* I'm trying to update postgres from 15.5 to 15.8. Got this error.
@ 2024-09-11 07:18  Pär Mattsson <[email protected]>
  parent: Pär Mattsson <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Pär Mattsson @ 2024-09-11 07:18 UTC (permalink / raw)
  To: Pgsql-admin <[email protected]>



Från: Pär Mattsson
Skickat: den 11 september 2024 09:13
Till: Pgsql-admin <[email protected]>
Ämne: I'm trying to update postgres from 15.5 to 15.8. Got this error.

[root@localhost]# yum update postgresql
Updating Subscription Management repositories.
PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64                                                                                                                     2.0 kB/s | 659  B     00:00
PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64                                                                                                                     1.6 MB/s | 1.7 kB     00:00
PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64                                                                                                                     1.0 kB/s | 659  B     00:00
Error: Failed to download metadata for repo 'pgdg-common': repomd.xml GPG signature verification error: Bad GPG signature


[root@vidi-db02 ~]# dnf list installed | grep postgres
postgresql15.x86_64                           15.5-1PGDG.rhel8                          @pgdg15
postgresql15-libs.x86_64                      15.5-1PGDG.rhel8                          @pgdg15
postgresql15-server.x86_64                    15.5-1PGDG.rhel8                          @pgdg15

Br Pär Mattsson


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: I'm trying to update postgres from 15.5 to 15.8. Got this error.
@ 2024-09-11 08:04  Asad Ali <[email protected]>
  parent: Pär Mattsson <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Asad Ali @ 2024-09-11 08:04 UTC (permalink / raw)
  To: Pär Mattsson <[email protected]>; +Cc: Pgsql-admin <[email protected]>

Hi  Pär Mattsson,

The error message indicates a problem with the GPG signature verification
for the repository metadata, which is preventing the yum or dnf package
manager from updating PostgreSQL.

Run the following commands to clear the DNF cache and rebuild it:
sudo dnf clean all
sudo dnf makecache

The GPG signature verification error could be caused by a missing or
corrupted GPG key for the PostgreSQL repository. You can manually download
and install the key.
sudo rpm --import
https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG

Verify the key has been installed.
rpm -qi gpg-pubkey | grep -i "PostgreSQL"

After ensuring the GPG key is correctly installed, try updating PostgreSQL
again.
sudo yum update postgresql*
or
sudo dnf update postgresql*

Best Regards,
Asad Ali


On Wed, Sep 11, 2024 at 12:18 PM Pär Mattsson <[email protected]>
wrote:

>
>
>
> *Från:* Pär Mattsson
> *Skickat:* den 11 september 2024 09:13
> *Till:* Pgsql-admin <[email protected]>
> *Ämne:* I'm trying to update postgres from 15.5 to 15.8. Got this error.
>
>
>
> [root@localhost]# yum update postgresql
>
> Updating Subscription Management repositories.
>
> PostgreSQL common RPMs for RHEL / Rocky 8 -
> x86_64
> 2.0 kB/s | 659  B     00:00
>
> PostgreSQL common RPMs for RHEL / Rocky 8 -
> x86_64
> 1.6 MB/s | 1.7 kB     00:00
>
> PostgreSQL common RPMs for RHEL / Rocky 8 -
> x86_64
> 1.0 kB/s | 659  B     00:00
>
> *Error: Failed to download metadata for repo 'pgdg-common': repomd.xml GPG
> signature verification error: Bad GPG signature*
>
>
>
>
>
> [root@vidi-db02 ~]# dnf list installed | grep postgres
>
> postgresql15.x86_64
> 15.5-1PGDG.rhel8                          @pgdg15
>
> postgresql15-libs.x86_64
> 15.5-1PGDG.rhel8                          @pgdg15
>
> postgresql15-server.x86_64
> 15.5-1PGDG.rhel8                          @pgdg15
>
>
>
> Br Pär Mattsson
>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-09-11 08:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-11 07:13 I'm trying to update postgres from 15.5 to 15.8. Got this error. Pär Mattsson <[email protected]>
2024-09-11 07:18 ` Pär Mattsson <[email protected]>
2024-09-11 08:04   ` Asad Ali <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox