为什么 emacs 找不到 haskell-mode 包?

Why can't emacs find the haskell-mode package?

我目前收到的错误是:

File error: http://melpa.org/packages/haskell-mode-20161110.316.tar, Not found

安装时 intero。我该如何解决这个问题?

谢谢!

试试这个:

(package-refresh-contents)

如果您没有 melpa,因为它在 elpa 存储库中不可用:

(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
                     ("marmalade" . "https://marmalade-repo.org/packages/")
                     ("melpa" . "https://melpa.org/packages/")))