I want to add a new repository, But I get error at the beginning:
$ gpg --verbose --keyserver keys.gnupg.net --recv 886DDD89
gpg: keyserver receive failed: Server indicated a failure
I also tried adding hkp://
and :80
. But did not work:
$ gpg --keyserver hkp://keys.gnupg.net:80 --recv 886DDD89
gpg: keyserver receive failed: Server indicated a failure
Also changed the DNS in resolv.conf to:
nameserver 8.8.8.8 # Google dns
It got the same error. I tried to use the --verbose
option. But had no new debugging info.
I do not have the complete explanation, but can say this on Ubuntu 21:
Before:
Seeing that dirmngr was involved, I just launched dirmngr as root, and it did something
After:
Could it be that creating the default certificates and directories for dirmngr helped? Best regards, xgiannak