deepin15.11 安装spacemacs失败


#1


#2

先试试package-refresh-contents; 不行再试试使用官方的elpa; 再不行再试试把原先的spacemacs配置先不使用,用重新自动生成的(就是.spacemacs文件或者.spacemacs.d目录)。 我最近是在26.3版本上遇到。


#3

使用Emacs-China的源,清华大学的源总是报错。


#4

复制不出来,只能贴图了。 使用Emacs-China的源。


#5

Debugger entered–Lisp error: (file-error “Cannot open load file” “没有那个文件或目录” “bind-map”) require(bind-map) spacemacs-bootstrap/init-bind-map() funcall(spacemacs-bootstrap/init-bind-map) (let* ((pkg-name (eieio-oref pkg (quote :name))) (owner (car (eieio-oref pkg (quote :owners))))) (spacemacs-buffer/message (format “Configuring %S…” pkg-name)) (mapc (function (lambda (layer) (if (configuration-layer/layer-usedp layer) (progn (if (not …) (spacemacs-buffer/message …) (spacemacs-buffer/message …) (condition-case err … …)))))) (eieio-oref pkg (quote :pre-layers))) (spacemacs-buffer/message (format " -> init (%S)…" owner)) (funcall (intern (format “%S/init-%S” owner pkg-name))) (mapc (function (lambda (layer) (if (configuration-layer/layer-usedp layer) (progn (if (not …) (spacemacs-buffer/message …) (spacemacs-buffer/message …) (condition-case err … …)))))) (eieio-oref pkg (quote :post-layers)))) configuration-layer//configure-package([object cfgl-package “bind-map” bind-map nil (spacemacs-bootstrap) nil nil elpa t bootstrap nil t nil]) (cond ((eq (quote dotfile) (car (eieio-oref pkg (quote :owners)))) (spacemacs-buffer/message (format “%S is configured in the dotfile.” pkg-name))) (t (configuration-layer//configure-package pkg))) (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format “%S ignored since it can be lazily installed.” pkg-name))) ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg (quote :protected)))) (spacemacs-buffer/message (format “%S ignored since it has been excluded.” pkg-name))) ((null (eieio-oref pkg (quote :owners))) (spacemacs-buffer/message (format “%S ignored since it has no owner layer.” pkg-name))) ((not (cfgl-package-enabledp pkg)) (spacemacs-buffer/message (format “%S is toggled off.” pkg-name))) (t (let ((location (eieio-oref pkg (quote :location)))) (cond ((stringp location) (if (file-directory-p location) (setq load-path (cons … load-path)) (configuration-layer//warning “Location path for package %S does not exists (value: %s).” pkg location))) ((and (eq (quote local) location) (eq (quote dotfile) (car …))) (setq load-path (cons (file-name-as-directory …) load-path))) ((eq (quote local) location) (let* ((owner …) (dir …)) (setq load-path (cons … load-path)))))) (if (memq (eieio-oref pkg (quote :location)) (quote (local site built-in))) nil (configuration-layer//activate-package pkg-name)) (cond ((eq (quote dotfile) (car (eieio-oref pkg (quote :owners)))) (spacemacs-buffer/message (format “%S is configured in the dotfile.” pkg-name))) (t (configuration-layer//configure-package pkg))))) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format “%S ignored since it can be lazily installed.” pkg-name))) ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg (quote :protected)))) (spacemacs-buffer/message (format “%S ignored since it has been excluded.” pkg-name))) ((null (eieio-oref pkg (quote :owners))) (spacemacs-buffer/message (format “%S ignored since it has no owner layer.” pkg-name))) ((not (cfgl-package-enabledp pkg)) (spacemacs-buffer/message (format “%S is toggled off.” pkg-name))) (t (let ((location (eieio-oref pkg (quote :location)))) (cond ((stringp location) (if (file-directory-p location) (setq load-path …) (configuration-layer//warning “Location path for package %S does not exists (value: %s).” pkg location))) ((and (eq … location) (eq … …)) (setq load-path (cons … load-path))) ((eq (quote local) location) (let* (… …) (setq load-path …))))) (if (memq (eieio-oref pkg (quote :location)) (quote (local site built-in))) nil (configuration-layer//activate-package pkg-name)) (cond ((eq (quote dotfile) (car (eieio-oref pkg …))) (spacemacs-buffer/message (format “%S is configured in the dotfile.” pkg-name))) (t (configuration-layer//configure-package pkg)))))) (while --dolist-tail-- (setq pkg-name (car --dolist-tail–)) (spacemacs-buffer/loading-animation) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format “%S ignored since it can be lazily installed.” pkg-name))) ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg (quote :protected)))) (spacemacs-buffer/message (format “%S ignored since it has been excluded.” pkg-name))) ((null (eieio-oref pkg (quote :owners))) (spacemacs-buffer/message (format “%S ignored since it has no owner layer.” pkg-name))) ((not (cfgl-package-enabledp pkg)) (spacemacs-buffer/message (format “%S is toggled off.” pkg-name))) (t (let ((location (eieio-oref pkg …))) (cond ((stringp location) (if … … …)) ((and … …) (setq load-path …)) ((eq … location) (let* … …)))) (if (memq (eieio-oref pkg (quote :location)) (quote (local site built-in))) nil (configuration-layer//activate-package pkg-name)) (cond ((eq (quote dotfile) (car …)) (spacemacs-buffer/message (format “%S is configured in the dotfile.” pkg-name))) (t (configuration-layer//configure-package pkg)))))) (setq --dolist-tail-- (cdr --dolist-tail–))) (let ((–dolist-tail-- packages) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail–)) (spacemacs-buffer/loading-animation) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format “%S ignored since it can be lazily installed.” pkg-name))) ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg …))) (spacemacs-buffer/message (format “%S ignored since it has been excluded.” pkg-name))) ((null (eieio-oref pkg (quote :owners))) (spacemacs-buffer/message (format “%S ignored since it has no owner layer.” pkg-name))) ((not (cfgl-package-enabledp pkg)) (spacemacs-buffer/message (format “%S is toggled off.” pkg-name))) (t (let ((location …)) (cond (… …) (… …) (… …))) (if (memq (eieio-oref pkg …) (quote …)) nil (configuration-layer//activate-package pkg-name)) (cond ((eq … …) (spacemacs-buffer/message …)) (t (configuration-layer//configure-package pkg)))))) (setq --dolist-tail-- (cdr --dolist-tail–)))) configuration-layer//configure-packages-2((async bind-key bind-map diminish evil hydra use-package which-key)) configuration-layer//configure-packages((abbrev ace-jump-helm-line ace-link ace-window adaptive-wrap aggressive-indent ansi-colors archive-mode async auto-compile auto-highlight-symbol avy bind-key bind-map bookmark bracketed-paste centered-buffer-mode centered-cursor clean-aindent-mode column-enforce-mode conf-mode debug default-helm-config default-ivy-config default-org-config define-word desktop diminish dired dired-x doc-view dumb-jump edebug ediff eldoc electric-indent-mode elisp-slime-nav emacs-lisp eval-sexp-fu evil evil-anzu evil-args evil-ediff evil-escape evil-evilified-state evil-exchange evil-iedit-state evil-indent-plus evil-lisp-state evil-matchit …)) configuration-layer/sync() (if (not (version<= spacemacs-emacs-min-version emacs-version)) (error (concat “Your version of Emacs (%s) is too old. " “Spacemacs requires Emacs version %s or above.”) emacs-version spacemacs-emacs-min-version) (load-file (concat (file-name-directory load-file-name) “core/core-load-paths.el”)) (require (quote core-spacemacs)) (spacemacs/init) (configuration-layer/sync) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (require (quote server)) (if (server-running-p) nil (server-start))) eval-buffer(#<buffer load> nil “/home/lixu/.emacs.d/init.el” nil t) ; Reading at buffer position 1264 load-with-code-conversion(”/home/lixu/.emacs.d/init.el" “/home/lixu/.emacs.d/init.el” t t) load("/home/lixu/.emacs.d/init" t t) #[0 "\205\262


#6

有没有试过我的方法,我没用国内的镜像源,然后建议可以用M-x package-refresh-contents刷新一下。

不行的话就是把原来的配置改名备份下,先用spacmacs自己生成的: %E5%9B%BE%E7%89%87

用国内的之前27版本的也会这样,现在新出来的26.3也遇到。


#7

试下用腾讯的源,速度快


#8

使用腾讯的源,仍然报错。


#9

好奇问下,你用的是develop分支下的spacemacs么 :thinking:


#10

没有,用的是deepin15.11默认安装的. emacs 24.5版本。

emacs26.3版本,自己编译安装的,问题解决了。