[spacemacs]git下载出错
发布日期:2021-06-29 14:59:29 浏览次数:2 分类:技术文章

本文共 1815 字,大约阅读时间需要 6 分钟。

报错如下:

lihaiyan@lihaiyan-sh:~/Downloads/spacemacs$ git clone ~/.emacs.d

Cloning into ‘/home/lihaiyan/.emacs.d’…
fatal: unable to access ‘’: gnutls_handshake() failed: The TLS connection was non-properly terminated.

同ping 不通该网站:

lihaiyan@lihaiyan-sh:/usr/bin$ ping
PING (13.250.177.223) 56(84) bytes of data.
^C
— ping statistics —
56 packets transmitted, 0 received, 100% packet loss, time 56299ms

解决方法:

sudo vim /etc/hosts

在文件添加:

192.30.253.113

安装步骤:

Default installation    If you have an existing Emacs configuration, back it up first:    cd ~    mv .emacs.d .emacs.d.bak    mv .emacs .emacs.bak    Don't forget to backup and remove ~/.emacs file otherwise Spacemacs WILL NOT load since that file prevents Emacs from loading the proper initialization file.    Clone the repository:    git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d    master is the stable branch and it is immutable, DO NOT make any modification to it or you will break the update mechanism. If you want to fork Spacemacs safely use the develop branch where you handle the update manually.    (Optional) Install the Source Code Pro font.    If you are running in terminal you'll also need to change font settings of your terminal.    Launch Emacs. Spacemacs will automatically install the packages it requires. If you get an error regarding package downloads then you may try to disable the HTTPS protocol by starting Emacs with    emacs --insecure    Or you can set the dotspacemacs-elpa-https to nil in your dotfile to remove the need to start Emacs with --insecure argument. You may wish to clear out your .emacs.d/elpa directory before doing this, so that any corrupted packages you may have downloaded will be re-installed.    Restart Emacs to complete the installation.If the mode-line turns red then be sure to consult the FAQ.

转载地址:https://ciellee.blog.csdn.net/article/details/90170029 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:作息时间 v4.0 调整
下一篇:[Ubuntu] 安装网易云音乐 报错解决

发表评论

最新留言

能坚持,总会有不一样的收获!
[***.219.124.196]2024年04月03日 05时21分16秒