Error: An error occurred during the signature verification. The repository is not updated

SYSTEM INFORMATION
OS type and version Debian GNU/Linux 11 (bullseye)
Webmin version 2.021
Cloudmin version 9.7 Pro

I’m getting the error

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cloudmin.virtualmin.com/debian binary/ Release: The following signatures were invalid: BADSIG D97A3AE911F63C51 Jamie Cameron jcameron@webmin.com
W: Failed to fetch http://cloudmin.virtualmin.com/debian/binary/Release.gpg The following signatures were invalid: BADSIG D97A3AE911F63C51 Jamie Cameron jcameron@webmin.com
W: Some index files failed to download. They have been ignored, or old ones used instead.

Any idea how to fix? I did try running setup-repos but it did not fix the issue:

Full log:

root@qonos:~# root@qonos:~# ./setup-repos.sh
Setup repository? (y/N) y
  Downloading Webmin key ..
  .. done
  Installing Webmin key ..
  .. done
  Setting up Webmin repository ..
  .. done
  Cleaning repository metadata ..
  .. done
  Downloading repository metadata ..
  .. done
root@qonos:~# apt-get update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Ign:4 http://cloudmin.virtualmin.com/debian binary/ InRelease
Get:5 http://cloudmin.virtualmin.com/debian binary/ Release [1,370 B]
Get:6 http://cloudmin.virtualmin.com/debian binary/ Release.gpg [173 B]
Ign:7 https://download.webmin.com/download/newkey/repository stable InRelease
Hit:8 https://download.webmin.com/download/newkey/repository stable Release
Err:6 http://cloudmin.virtualmin.com/debian binary/ Release.gpg
  The following signatures were invalid: BADSIG D97A3AE911F63C51 Jamie Cameron <jcameron@webmin.com>
Hit:10 https://software.virtualmin.com/vm/7/pro/apt virtualmin InRelease
Fetched 1,543 B in 4s (392 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cloudmin.virtualmin.com/debian binary/ Release: The following signatures were invalid: BADSIG D97A3AE911F63C51 Jamie Cameron <jcameron@webmin.com>
W: Failed to fetch http://cloudmin.virtualmin.com/debian/binary/Release.gpg  The following signatures were invalid: BADSIG D97A3AE911F63C51 Jamie Cameron <jcameron@webmin.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.
N: Usage of apt_auth.conf(5) should be preferred over embedding login information directly in the sources.list(5) entry for 'http://cloudmin.virtualmin.com/debian'

Hi, I get the exact same error on Ubuntu 22.04 :frowning:

Thanks for the heads up!

@Jamie, can you take a look?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.