0
Issue fetching gpg keys
I was trying to fetch a key from keyserver.ubuntu.com (gpg --keyserver keyserver.ubuntu.com --recv-keys 6e85a86e4652b4e6), and kept getting the following error:
gpg: keyserver receive failed: Server indicated a failure
After some digging, I found out that it's a DNS issue affecting dirmngr and "faulty" DNS servers.
https://bugs.launchpad.net/snapcraft/+bug/1942660/comments/5
https://unix.stackexchange.com/questions/399027/gpg-keyserver-receive-failed-server-indicated-a-failure (most answers here point to DNS)
Sure enough, after adding 1.1.1.1 (Cloudflare DNS) as the DNS resolver for keyserver.ubuntu.com, the issue disappeared:
# /etc/systemd/resolved.conf
[...]
DNS=1.1.1.1
Domains=~keyserver.ubuntu.com
I'm not sure if this is an isolated issue but I'm posting here just in case.
1 reply
-
Got the same problem and can confirm that disabling Nextdns the import work as expected.
Content aside
- 2 mths agoLast active
- 1Replies
- 63Views
-
3
Following