在新安装的spacemacs中安装软件包时出错

时间:2019-10-11 17:16:23

标签: emacs package install fedora spacemacs

我决定进入1970年代,并尝试掌握emacs :-)由于我想使用一些有用的附加组件,因此我决定使用spacemacs。不幸的是,除了尝试安装它,我什么都没有。由于我对emacs完全陌生,因此在尝试理解该问题时遇到了真正的麻烦-更不用说解决了:-(

我正在Fedora 30上进行安装。

第一步,我安装了基本的emacs版本26.2。我能够毫无问题地启动emacs。然后,我使用git命令安装了spacemacs:

git clone https://github.com/syl20bnr/spacemac ~/.emacs.d

然后我使用--insecure选项启动了emacs,因为如果没有提供此选项,我已经阅读了有关https问题的信息。

然后安装会继续进行,并填充顶部和底部窗口,如下所示(对文本内容表示歉意):

顶部:

                                                       0.200.13@26.2 (spacemacs)


                              [S P A C E M A C S]

        [?] [Homepage] [Documentation] [Gitter Chat] [Update Spacemacs]
                  [Update Packages] [Rollback Package Update]
                     [Release Notes] [Search in Spacemacs]

Found 90 new package(s) to install...
--> refreshing package archive: gnu... [3/3]
--> installing package: adaptive-wrap@spacemacs-editing-visual... [4/90]
Package adaptive-wrap is unavailable. Is the package name misspelled?
--> installing package: evil@spacemacs-bootstrap... [19/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-anzu@spacemacs-evil... [20/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-anzu (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-args@spacemacs-evil... [21/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-args (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-ediff@spacemacs-evil... [22/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-ediff (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-exchange@spacemacs-evil... [24/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-exchange (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-iedit-state@spacemacs-evil... [25/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-iedit-state (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-indent-plus@spacemacs-evil... [26/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-indent-plus (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-lisp-state@spacemacs-evil... [27/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-lisp-state (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-matchit@spacemacs-evil... [28/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-matchit (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-mc@spacemacs-evil... [29/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-mc (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-surround@spacemacs-evil... [33/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-surround (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-tutor@spacemacs-evil... [34/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-tutor (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-visual-mark-mode@spacemacs-evil... [36/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-visual-mark-mode (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: evil-visualstar@spacemacs-base... [37/90]
Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

Package undo-tree is unavailable. Is the package name misspelled?

An error occurred while installing evil-visualstar (error: (error Package ‘undo-tree-0.1.3’ is unavailable))
--> installing package: paradox@spacemacs-ui... [71/90]
Package spinner is unavailable. Is the package name misspelled?

An error occurred while installing paradox (error: (error Package ‘spinner-1.7.3’ is unavailable))
--> installing package: undo-tree@spacemacs-editing... [83/90]
Package undo-tree is unavailable. Is the package name misspelled?
--> installing package: ws-butler@spacemacs-editing... [90/90]

底部:

Warning (initialization): An error occurred while loading ‘/home/andy/.emacs.d/init.el’:

File is missing: Cannot open load file, No such file or directory, evil

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.

最能帮助您的任何帮助...

2 个答案:

答案 0 :(得分:2)

该问题的另一种解决方案:

我的问题是我的系统上安装了emacs 25.x,而该版本的emacs存在一些问题。以下是解决我的问题的命令。

orm->register_func
  ("NAME",
   static_cast<FPTR<void, T, const char *>>
     (&User::set_name));

答案 1 :(得分:0)

我建议您不要使用--insecure并升级到Emacs-26.3。 假设我的水晶球是https://emacs.stackexchange.com/questions/233

的副本,那么升级应该可以解决您的问题