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
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 <par.x.mattsson@xxxxxxxxx> wrote: