Spacemacs 从未能安装到不想放弃

按照 Spacemacs Rocks 和 Spacemacs 的 README 都试过了
无论如何都是:

Warning (spacemacs): 
Error connection time out for melpa-cn repository!
Warning (spacemacs): 
Error connection time out for gnu-cn repository!
Warning (spacemacs): An error occurred while retrieving the theme, using default theme. (error: (error Package ‘spacemacs-theme-’ is unavailable))
Warning (initialization): An error occurred while loading ‘f:/space/.emacs.d/init.el’:

error: Package ‘package-build-’ is unavailable

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.
Warning (spacemacs): 
Error connection time out for melpa-cn repository!
Warning (spacemacs): 
Error connection time out for gnu-cn repository!
Warning (spacemacs): An error occurred while retrieving the theme, using default theme. (error: (error Package ‘spacemacs-theme-’ is unavailable))
Warning (initialization): An error occurred while loading ‘f:/space/.emacs.d/init.el’:

error: Package ‘package-build-’ is unavailable

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.

Windows + Emacs 25.1 + Spacemacs 0.200.5

看样子是连不上 melpa 镜像啊。

我这里的校园网也经常出这种问题_(:зゝ∠)_

不知道你是不是校园网

有没有只有spacemacs需要的包的melpa镜像,然后打包下载,然后直接用本地的melpa镜像呢

我刚才搜了一下,有一个emacs插件可以这么做,不过要求你的emacs安装过这些插件(第二次装插件的时候就快了)

搜索关键词: elpa local mirror


EDIT:

我刚刚把我自己用的插件打了一个包,在这里: elpa-mirror.zip_免费高速下载|百度网盘-分享无限制

需要上面的那个插件来安装。

2 个赞

清华的镜像速度还不错

Spacemacs 用户 添加下面的代码到.spacemacs的dotspacemacs/user-init()

(setq configuration-layer--elpa-archives
    '(("melpa-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")
      ("org-cn"   . "http://mirrors.tuna.tsinghua.edu.cn/elpa/org/")
      ("gnu-cn"   . "http://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/")))
2 个赞

请尽量先找出问题,然后再尝试解决。No magic

是指 Emacs China 的 ELPA 镜像吗?这个镜像一直都放在国内的阿里云上,应该没有问题吧,从有这个镜像开始,我一直在用,从来没遇到过网络问题。

楼主你把配置文件发上来啊。

国外源和国内源都试过,能用浏览器直接打开emacs-china的源,https和http都试过,试过很多Spacemacs版本,我试试旧版本emacs。

在我的电脑上,不管是 emacs china 的 elpa 镜像还是 tuna 的镜像都时不时会出问题(尤其是在刚刚初始化spacemacs安装插件的时候),我周围的一些同学也出现过类似的连接问题(虽然不是 elpa,是其他的网站)。所以我推测我们学校的校园网可能不大稳定。

说不定其他的校园网也是这样呢_(:зゝ∠)_

lz成功了吗

已安装了mysy2,但用elpa-mirrpr创建本地存储库仍然没有成功,请教,还需什么条件/程序支持?