Page 1 of 1

Error trying to install Switch development tools

Posted: Thu Jul 30, 2020 10:01 pm
by impeeza
Hi, Regards from Colombia.

I am following the guide: wiki/devkitPro_pacman as I already have a MSYS2 shell working, follow the steps on section: Customising Existing Pacman Install but when get in step:

Code: Select all

sudo pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0
I did receive the error:
gpg: keyserver receive failed: General error
==> ERROR: Remote key not fetched correctly from keyserver.
I even remove completely MSYS and install a fresh copy, and start the process from scratch with the same error.
In order to continue, I did import manually the Keys downloading the pubring.gpg file from somewhere ridiculous and installing it using the command:

Code: Select all

pacman-key --import "C:\Downloads\DevKitPro"
then list the installed keys with

Code: Select all

pacman-key -l 
and found on response:

Code: Select all

pub   rsa4096 2018-02-28 [SC]
      BC26F752D25B92CE272E0F44F7FD5492264BB9D0
uid           [  full  ] Dave Murphy (WinterMute) <[email protected]>
sub   rsa4096 2018-02-28 [E]
but I don't think is a good idea. What should I do to install the key from your servers?

Re: Error trying to install Switch development tools

Posted: Sun Aug 09, 2020 1:10 am
by WinterMute
It's probably not the best of ideas to be downloading a pubkey from somewhere random & installing it without checking its validity.

There seem to be issues with keyservers recently for some people. I've updated the instructions to use an explicit keyserver which seems to work. I'm also currently looking into how best to provide the gpg pubkey somewhere as a fallback - I'll update when I figure that out,