Grafana repository GPG signature error

Hello,

I’ve noticed yesterday that on my Grafana server, update services were not running and whenever I wanted to restart the service dnf-automatic-install, it was showing me this error:

cannot update repo 'grafana': repomd.xml GPG signature verification error: Bad GPG signature

I’ve deleted the file /etc/yum.repos.d/grafana.repo and recreated it from the official doc, but it didn’t work any better.

My repo file, just for verification:

[grafana]
name=grafana
baseurl=https://packages.grafana.com/enterprise/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

I’m running CentOS 8 and Grafana 8.0.6 on my server, so this is failing since a couple of days/hours only.

Anything I can do on my side?

Thanks and best regards

1 Like

I have exactly the same issue.

[root@grafana]# dnf update
grafana                                                                                 2.2 kB/s | 454  B     00:00    
grafana                                                                                  25 kB/s | 1.7 kB     00:00    
grafana                                                                                 2.9 kB/s | 454  B     00:00    
Error: Failed to download metadata for repo 'grafana': repomd.xml GPG signature verification error: Bad GPG signature

Currently running : Grafana v8.0.6 (68fe9e3431)
but cant update.

[root@grafana yum.repos.d]# uname -a
Linux grafana 4.18.0-305.7.1.el8_4.x86_64 #1 SMP Tue Jun 29 21:55:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@grafana yum.repos.d]# cat /etc/os-release 
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"

Any ideas?

Thanks!

Jon.

Self solved, was a temporary problem

This topic was automatically closed after 365 days. New replies are no longer allowed.