Raspberry Pi, Model 4, everything up to date with Raspberry Pi OS. I execute the following commands:
sudo apt install emacs (verson 26.1)
mkdir .emacs.d
emacs
then
M-x package-refresh-contents
which gives the error message:
Failed to download the gnu archive
I have tried a couple of things from these links:
Failed to download 'gnu' archive
But I haven't gotten anything to succeed yet.