#StackBounty: #package #linux can not access melpa packages- hung up at Contacting host: elpa.gnu.org:80

Bounty: 100

I am trying to access the melpa packages but when typing:


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.

enter image description here

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.