Skip to content

gitlab-runner package metadata failing with signature issues

I'm seeing an issue this morning with downloading the latest gitlab-runner packages.

eg. for Ubuntu 22.04:

Hit:5 https://packages.gitlab.com/runner/gitlab-runner/ubuntu jammy InRelease
Err:5 https://packages.gitlab.com/runner/gitlab-runner/ubuntu jammy InRelease
  The following signatures were invalid: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) <packages@gitlab.com>

And for Rocky8:

Importing GPG key 0x6BA75A4E:
 Userid     : "GitLab, Inc. <support@gitlab.com>"
 Fingerprint: 931D A69C FA3A FEBB C97D AA8C 6C57 C29C 6BA7 5A4E
 From       : https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-49F16C5CC3A0F81F.pub.gpg
Is this ok [y/N]: y
runner_gitlab-runner                                                                                                                                                           1.6 kB/s | 862  B     00:00    
Error: Failed to download metadata for repo 'runner_gitlab-runner': repomd.xml GPG signature verification error: Bad GPG signature
[root@rocky8 ~]#

and then trying again:

dnf update
Failed to set locale, defaulting to C.UTF-8
DigitalOcean Droplet Agent                                                                                                                                                      60 kB/s | 3.3 kB     00:00    
runner_gitlab-runner                                                                                                                                                           1.6 kB/s | 862  B     00:00    
runner_gitlab-runner                                                                                                                                                            25 kB/s | 3.1 kB     00:00    
runner_gitlab-runner                                                                                                                                                            11 kB/s | 3.1 kB     00:00    
runner_gitlab-runner                                                                                                                                                           1.6 kB/s | 862  B     00:00    
Error: Failed to download metadata for repo 'runner_gitlab-runner': repomd.xml GPG signature verification error: Bad GPG signature
[root@rocky8 ~]#