【发布时间】:2015-01-11 13:08:13
【问题描述】:
我按照here 的说明在 Emacs 中安装 ghc-mod。我可以使用M-x package-list-packages 添加melpa repos 并列出包,然后当我去安装ghc 包时,会发生这种情况:
Debugger entered--Lisp error: (error "Error during download request: Not Found")
signal(error ("Error during download request: Not Found"))
error("Error during download request:%s" " Not Found")
package-handle-response()
package-download-tar(ghc "20141130.1848")
package-download-transaction((ghc))
package-install(ghc)
mapc(package-install (ghc))
package-menu-execute()
call-interactively(package-menu-execute nil nil)
在.emacs我有
(require 'package)
;; Add the original Emacs Lisp Package Archive
(add-to-list 'package-archives
'("elpa" . "http://tromey.com/elpa/"))
; old url for melpa
;(add-to-list 'package-archives
; '("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives
'("melpa-stable" . "http://melpa-stable.milkbox.net/packages/"))
;; Add the user-contributed repository
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
我在 ubuntu 上使用 emacs 24.3.1。如何进行?谢谢。
[编辑] 我通过自己下载成功安装了这个包,但我仍然想知道这里出了什么问题。
【问题讨论】:
标签: emacs haskell-mode ghc-mod