Anydesk dnf - Error: Failed to download metadata for repo 'anydesk': repomd.xml GPG signature verification error: Bad GPG signature

Hi there,
After installing Anydesk (https://www.linuxcapable.com/install-anydesk-on-rocky-linux/), I’m having trouble to run dnf or other basic admin commands to setup/install programs on my Rocky Linux 9. Here’s what I get:

As far as I’m concerned, this type of error is not strictly related to Anydesk - but other programs might end up resulting in this same error. I could not solve it though.

Any ideas?
Appreciate!

I’d say is highly related, the error message clearly says ‘anydesk’.

Try disable the anydesk repo, it might start working again.

The problem is because of anydesk as what @gerry666uk says because their GPG key is obviously not supported by EL9 versions. In fact, their website only provides downloads for EL7 and EL8. Most likely they are using a legacy GPG key in sha1 or something. That problem is for them to resolve ensuring to use the appropriate GPG key that EL9 supports.

But as mentioned, they don’t release anydesk for EL9 anyway. If you look in the repo file under /etc/yum.repos.d, you can edit the contents:

[anydesk]
name=AnyDesk RHEL - stable
baseurl=http://rpm.anydesk.com/rhel/$releasever/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY

You can set the gpgcheck or repo_gpgcheck options to 0. Obviously not a great idea to do that, since you have to trust the packages that you are installing. The other problem, if anydesk requires dependencies that EL9 doesn’t have, then it won’t install on Rocky 9 anyway.

It would be better to contact Anydesk and ask them to:

  1. If they can release anydesk for RHEL9, Rocky9, etc.
  2. Ensure they use the correct GPG key format supported by the Linux distribution.

On a side note on their RPM repository, they say they support Fedora, but I can tell you it doesn’t work since I did try to install it once under Fedora 39, and it didn’t work or want to install. So pretty poor from Anydesk to say they support installing on Fedora when it doesn’t.