I am trying to access the melpa packages but when typing:
package-refresh-contents
emacs gets hung up at: "Contacting host: elpa.gnu.org:80"
I am completely new to emacs and fairly new to Linux and I have been stuck on this for a few hours.
I found this question on stackoverflow below:
and added:
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.org/packages/")))
but it did not help.
I also tried switching https to http but that did not help either.
Can someone please help? Any suggestions or references would be much appreciated. Below is a screen shot of my code.
ping elpa.gnu.org
from the command line? – phils Dec 7 '17 at 4:03