Error downloading public key

38 views
Skip to first unread message

Daniel Smolkin

unread,
Jun 28, 2021, 2:39:40 PM6/28/21
to maca...@googlegroups.com
When trying to install M2 on Windows Subsystem for Linux today, I ran the following command to install the public key,

>sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key CD9C0E09B0C780943A1AD85553F8BD99F40DCB31

and received the following error message,

> gpg: keyserver receive failed: No name

I looked into it a bit, and I guess this problem is arising because the SKS keyserver is now deprecated. I was able to fix the problem by changing the above address, hkp://keys.gnupg.net, to keyserver.ubuntu.com:

root@DESKTOP-IME3E7H:~# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key CD9C0E09B0C780943A1AD85553F8BD99F40DCB31
Executing: /tmp/apt-key-gpghome.YqSnNq3yrZ/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-key CD9C0E09B0C780943A1AD85553F8BD99F40DCB31
gpg: key 53F8BD99F40DCB31: public key "Macaulay2 <d...@math.uiuc.edu>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Just thought I'd give everyone a heads-up! 

-Dan
Reply all
Reply to author
Forward
0 new messages