Debian bookworm repo public key not available

I’m installing Hestia on a Debian 12 VM and it’s failing with the error

W: GPG error: https://apt.hestiacp.com bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A189E93654F0B0E5

This was working the last time I installed an instance a couple of weeks ago.

Could you please execute this as root and show the output?

gpg --no-default-keyring --keyring /usr/share/keyrings/hestia-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A189E93654F0B0E5 

gpg: keyserver receive failed: No keyserver available

The keyserver is resolving for me:

host keyserver.ubuntu.com keyserver.ubuntu.com has address 185.125.188.27 keyserver.ubuntu.com has address 185.125.188.26 keyserver.ubuntu.com has IPv6 address 2620:2d:4000:1007::d43 keyserver.ubuntu.com has IPv6 address 2620:2d:4000:1007::70c
I can retrieve index.html from it as well. I can also retrieve the keyring from my laptop. I’ve also tried it from a VM on a neighbouring server and it works, hmm.

I can’t reproduce it anywhere else, odd. That would suggest a routing problem on that VM so I’ll probably start again.

I deleted hestia-keyring.gpg from /usr/share/keyrings and ran it again and it creates the file but still gets gpg: keyserver receive failed: No keyserver available.

I rebooted the VM and it’s now worked so I’m going to guess it was a networking issue of some kind, strange.

1 Like