syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.7k stars 4.9k forks source link

"Package X is unavailable. Is the package name misspelled?" #13957

Closed zilti closed 2 years ago

zilti commented 4 years ago

Description :octocat:

Most of the packages of my .spacemacs config won't install. Emacs version is 27.1, running on Mageia Linux with Kernel 5.7.19.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: 234 "Package X is unavailable. Is the package name misspelled?" errors out of the 254 packages that should be installed.

Expected behaviour: :heart: :smile: The 234 packages get installed, too.

(%LAST_KEYS%) %SYSTEM_INFO%

Backtrace :paw_prints:

%BACKTRACE%
smile13241324 commented 4 years ago

@zilti sounds strange, can you provide some more information about the version of spacemacs you are using? Are you on develop or master and are you behind a corporate firewall? Have you activated spacelpa?

Waiting for your reply.

zilti commented 4 years ago

I am on develop, and not behind a firewall, and also no spacelpa. I had it on my previous (short-lived) install too, where it worked again after a delete of .emacs.d. I think I have managed to solve it though, I think by installing p11-kit-trust on my distribution - I will check again tomorrow on my almost-identical work computer. If it is solved there as well, I'll close the issue.

zilti commented 4 years ago

Unfortunately, the issue is still there... Just deleted the .emacs.d directory and re-cloned it with git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d. I am not really sure anymore what to try... On both computers, I have the same distribution, the exact same Emacs build, the same .spacemacs config, and the same version of the spacemacs develop repo.

smile13241324 commented 4 years ago

:thinking: lets first exclude your Linux distro as source of your issues. Can you start a docker container running a standard Ubuntu or Manjaro distribution and run spacemacs in there via a terminal. You can also use a VM if you are more comfortable with these.

If this fails too then it has something to do with your environment if it works it is related to something in your Linux distro.

zilti commented 4 years ago

I can definitely exclude the distribution as issue. I had that very same issue at some point a few weeks ago on OpenSUSE Tumbleweed, until I suddenly didn't have it anymore. And yesterday, I did a clean install of Mageia in a VM, and Spacemacs Develop worked flawlessly there with my config.

smile13241324 commented 4 years ago

Then I am totally clueless what's happening there :confused:, maybe someone from the community can reproduce your issue.

fleurc commented 4 years ago

Me, i am able to reproduce the issue, simply installed spacemacs on a new system. OpenSuse, it has given me this same error for 17 packages. that and evil was not found.

Fizzixnerd commented 4 years ago

Also able to reproduce on a fresh install on Windows 10 Pro. Is it related to https://github.com/syl20bnr/spacemacs/issues/11273 ? I get very similar behavior.

Edit: Also Emacs 27.1

glm4610 commented 3 years ago

I was getting similar "Package X is unavailable" (in my case, one of them was undo-tree) messages. It also took an awful amount of time to refresh the gnu package archive.

In my case, I believe it turns out there must some problem with my IPv6 routing. After I completely disabled IPv6 on my system, all of the issues above went away.

debnath-d commented 3 years ago

Ran into this problem.

@glm4610 your comment nudged me in the right direction. Turns out I had recently changed my DNS settings. My DNS provider probably didn't have all the required entries in their database so emacs couldn't find the packages.

I think the people in this thread probably have something wrong with their network settings due to which emacs is unable to reach the servers properly to download the updates.

dillydogg commented 2 years ago

I don't mean to resurrect an ancient issue, but I wanted to chime in and say that the advice from @glm4610 and @keyb0ardninja worked for me.

I felt this to be useful to post here as I am also on openSUSE Tumbleweed (using GNOME 41) as another user who had this issue mentioned. When I simply went to my wireless connection and disabled IPv6 for the connection and restarted my computer this worked perfectly.

What clued me in to this being the same issue that @glm4610 described where the elpa.gnu.org:443 and elpa.nongnu.org:443 repositories took ages to refresh (maybe 5 minutes per repository).

In case this helps out someone find this issue I'll add a couple copy and pasted errors:

http melpa.org:443*-247305 buffer is running, kill buffer?

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

lebensterben commented 2 years ago

For future references:

Please check your network settings, including your DNS and IPV6 connections.

xparq commented 1 year ago

FTR, I'm having the same(?) problem unfortunately -- but my network is supposedly fine (other package installs work, no DNS problems whatsoever etc.; I can't see how this could be network-related (Ethernet LAN, BTW)).

Win10, WSL2, Debian 12. Everything's pretty vanilla & up-to-date; fresh emacs install (28.2) from Debian stable, spacemacs cloned via git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d.

The only relevant customization is moving it into a subdir, as per the install guide:

(setq spacemacs-start-directory "~/.emacs.d/spacemacs/")
(load-file (concat spacemacs-start-directory "init.el"))

Also retried with emacs --insecure (again, from the install guide), but that's an "unknown option"... :-o

Giving up.

Logs (edit buffer contents):

--> refreshing package archive: nongnu... [3/3]
--> installing package: dotenv-mode@spacemacs-bootstrap... [9/127]
Package dotenv-mode is unavailable. Is the package name misspelled?
--> installing package: writeroom-mode@spacemacs-editing-visual... [15/127]
Package writeroom-mode is unavailable. Is the package name misspelled?
--> installing package: winum@spacemacs-navigation... [16/127]
Package winum is unavailable. Is the package name misspelled?
--> installing package: window-purpose@spacemacs-purpose... [17/127]
Package window-purpose is unavailable. Is the package name misspelled?
--> installing package: volatile-highlights@spacemacs-editing-visual... [18/127]
Package volatile-highlights is unavailable. Is the package name misspelled?
--> installing package: vi-tilde-fringe@spacemacs-evil... [20/127]
Package vi-tilde-fringe is unavailable. Is the package name misspelled?
--> installing package: uuidgen@spacemacs-editing... [21/127]
Package uuidgen is unavailable. Is the package name misspelled?
--> installing package: treemacs-projectile@treemacs... [23/127]
Package treemacs-projectile is unavailable. Is the package name misspelled?
--> installing package: treemacs-persp@treemacs... [24/127]
Package treemacs-persp is unavailable. Is the package name misspelled?
--> installing package: treemacs-icons-dired@treemacs... [25/127]
Package treemacs-icons-dired is unavailable. Is the package name misspelled?
--> installing package: treemacs@treemacs... [26/127]
Package treemacs is unavailable. Is the package name misspelled?
--> installing package: symon@spacemacs-modeline... [29/127]
Package symon is unavailable. Is the package name misspelled?
--> installing package: string-inflection@spacemacs-editing... [31/127]
Package string-inflection is unavailable. Is the package name misspelled?
--> installing package: string-edit-at-point@spacemacs-editing... [32/127]
Package string-edit-at-point is unavailable. Is the package name misspelled?
--> installing package: spaceline@spacemacs-modeline... [35/127]
Package spaceline is unavailable. Is the package name misspelled?
--> installing package: restart-emacs@spacemacs-navigation... [38/127]
Package restart-emacs is unavailable. Is the package name misspelled?
--> installing package: quickrun@spacemacs-defaults... [41/127]
Package quickrun is unavailable. Is the package name misspelled?
--> installing package: popwin@spacemacs-visual... [44/127]
Package popwin is unavailable. Is the package name misspelled?
--> installing package: persp-mode@spacemacs-layouts... [46/127]
Package persp-mode is unavailable. Is the package name misspelled?
--> installing package: password-generator@spacemacs-editing... [47/127]
Package password-generator is unavailable. Is the package name misspelled?
--> installing package: paradox@spacemacs-navigation... [48/127]
Package paradox is unavailable. Is the package name misspelled?
--> installing package: overseer@emacs-lisp... [49/127]
Package overseer is unavailable. Is the package name misspelled?
--> installing package: open-junk-file@spacemacs-navigation... [51/127]
Package open-junk-file is unavailable. Is the package name misspelled?
--> installing package: multi-line@spacemacs-editing... [53/127]
Package multi-line is unavailable. Is the package name misspelled?
--> installing package: link-hint@spacemacs-editing... [56/127]
Package link-hint is unavailable. Is the package name misspelled?
--> installing package: indent-guide@spacemacs-editing-visual... [59/127]
Package indent-guide is unavailable. Is the package name misspelled?
--> installing package: hungry-delete@spacemacs-editing... [60/127]
Package hungry-delete is unavailable. Is the package name misspelled?
--> installing package: hl-todo@spacemacs-visual... [61/127]
Package hl-todo is unavailable. Is the package name misspelled?
--> installing package: highlight-numbers@spacemacs-editing-visual... [63/127]
Package highlight-numbers is unavailable. Is the package name misspelled?
--> installing package: highlight-indentation@spacemacs-editing-visual... [64/127]
Package highlight-indentation is unavailable. Is the package name misspelled?
--> installing package: helm-xref@helm... [66/127]
Package helm-xref is unavailable. Is the package name misspelled?
--> installing package: helm-themes@helm... [67/127]
Package helm-themes is unavailable. Is the package name misspelled?
--> installing package: helm-swoop@helm... [68/127]
Package helm-swoop is unavailable. Is the package name misspelled?
--> installing package: helm-purpose@spacemacs-purpose... [69/127]
Package helm-purpose is unavailable. Is the package name misspelled?
--> installing package: helm-projectile@helm... [70/127]
Package helm-projectile is unavailable. Is the package name misspelled?
--> installing package: helm-org@helm... [71/127]
Package helm-org is unavailable. Is the package name misspelled?
--> installing package: helm-mode-manager@helm... [72/127]
Package helm-mode-manager is unavailable. Is the package name misspelled?
--> installing package: helm-make@helm... [73/127]
Package helm-make is unavailable. Is the package name misspelled?
--> installing package: helm-descbinds@helm... [74/127]
Package helm-descbinds is unavailable. Is the package name misspelled?
--> installing package: helm-ag@helm... [75/127]
Package helm-ag is unavailable. Is the package name misspelled?
--> installing package: google-translate@spacemacs-language... [77/127]
Package google-translate is unavailable. Is the package name misspelled?
--> installing package: golden-ratio@spacemacs-navigation... [78/127]
Package golden-ratio is unavailable. Is the package name misspelled?
--> installing package: flycheck-package@emacs-lisp... [79/127]
Package flycheck-package is unavailable. Is the package name misspelled?
--> installing package: flycheck-elsa@emacs-lisp... [80/127]
Package flycheck-elsa is unavailable. Is the package name misspelled?
--> installing package: fancy-battery@spacemacs-modeline... [82/127]
Package fancy-battery is unavailable. Is the package name misspelled?
--> installing package: eyebrowse@spacemacs-layouts... [83/127]
Package eyebrowse is unavailable. Is the package name misspelled?
--> installing package: evil-visual-mark-mode@spacemacs-evil... [86/127]
Package evil-visual-mark-mode is unavailable. Is the package name misspelled?
--> installing package: evil-tutor@spacemacs-evil... [88/127]
Package evil-tutor is unavailable. Is the package name misspelled?
--> installing package: evil-textobj-line@spacemacs-evil... [89/127]
Package evil-textobj-line is unavailable. Is the package name misspelled?
--> installing package: evil-surround@spacemacs-evil... [90/127]
Package evil-surround is unavailable. Is the package name misspelled?
--> installing package: evil-mc@multiple-cursors... [93/127]
Package evil-mc is unavailable. Is the package name misspelled?
--> installing package: evil-lion@spacemacs-evil... [96/127]
Package evil-lion is unavailable. Is the package name misspelled?
--> installing package: evil-collection@spacemacs-evil... [102/127]
Package evil-collection is unavailable. Is the package name misspelled?
--> installing package: evil-cleverparens@spacemacs-evil... [103/127]
Package evil-cleverparens is unavailable. Is the package name misspelled?
--> installing package: eval-sexp-fu@spacemacs-editing... [106/127]
Package eval-sexp-fu is unavailable. Is the package name misspelled?
--> installing package: emr@emacs-lisp... [107/127]
Package emr is unavailable. Is the package name misspelled?
--> installing package: elisp-slime-nav@emacs-lisp... [108/127]
Package elisp-slime-nav is unavailable. Is the package name misspelled?
--> installing package: elisp-def@emacs-lisp... [109/127]
Package elisp-def is unavailable. Is the package name misspelled?
--> installing package: dumb-jump@spacemacs-misc... [111/127]
Package dumb-jump is unavailable. Is the package name misspelled?
--> installing package: drag-stuff@spacemacs-editing... [112/127]
Package drag-stuff is unavailable. Is the package name misspelled?
--> installing package: dired-quick-sort@spacemacs-editing... [113/127]
Package dired-quick-sort is unavailable. Is the package name misspelled?
--> installing package: define-word@spacemacs-language... [115/127]
Package define-word is unavailable. Is the package name misspelled?
--> installing package: column-enforce-mode@spacemacs-editing-visual... [117/127]
Package column-enforce-mode is unavailable. Is the package name misspelled?
--> installing package: clean-aindent-mode@spacemacs-editing... [118/127]
Package clean-aindent-mode is unavailable. Is the package name misspelled?
--> installing package: centered-cursor-mode@spacemacs-navigation... [119/127]
Package centered-cursor-mode is unavailable. Is the package name misspelled?
--> installing package: auto-highlight-symbol@spacemacs-navigation... [121/127]
Package auto-highlight-symbol is unavailable. Is the package name misspelled?
--> installing package: auto-compile@emacs-lisp... [122/127]
Package auto-compile is unavailable. Is the package name misspelled?
--> installing package: all-the-icons@spacemacs-visual... [123/127]
Package all-the-icons is unavailable. Is the package name misspelled?
--> installing package: ace-link@spacemacs-navigation... [126/127]
Package ace-link is unavailable. Is the package name misspelled?
--> installing package: ace-jump-helm-line@helm... [127/127]
Package ace-jump-helm-line is unavailable. Is the package name misspelled?
Error (use-package): Cannot load clean-aindent-mode Disable showing Disable logging
Error (use-package): Cannot load column-enforce-mode Disable showing Disable logging
Error (use-package): drag-stuff/:init: Symbol’s function definition is void: drag-stuff-mode Disable showing Disable logging
Error (use-package): Cannot load evil-collection Disable showing Disable logging
Error (use-package): Cannot load evil-mc Disable showing Disable logging
Error (use-package): Cannot load evil-textobj-line Disable showing Disable logging
Error (use-package): eyebrowse/:init: Symbol’s function definition is void: eyebrowse-mode Disable showing Disable logging
Error (use-package): Cannot load eyebrowse Disable showing Disable logging
Error (use-package): hl-todo/:init: Symbol’s function definition is void: global-hl-todo-mode Disable showing Disable logging
Error (use-package): Cannot load persp-mode Disable showing Disable logging
Error (use-package): Cannot load popwin Disable showing Disable logging
Error (use-package): Cannot load restart-emacs Disable showing Disable logging
Error (use-package): Cannot load spaceline-config Disable showing Disable logging
Error (use-package): Cannot load string-inflection Disable showing Disable logging
Error (use-package): vi-tilde-fringe/:init: Symbol’s function definition is void: global-vi-tilde-fringe-mode Disable showing Disable logging
Error (use-package): Cannot load vi-tilde-fringe Disable showing Disable logging
Error (use-package): volatile-highlights/:init: Symbol’s function definition is void: volatile-highlights-mode Disable showing Disable logging
Error (use-package): Cannot load winum Disable showing Disable logging
Warning (comp): hydra.el:103:1: Warning: defvar `hydra-amaranth-warn-message' docstring wider than 80 characters Disable showing Disable logging
Warning (comp): hydra.el:238:1: Warning: Alias for ‘hydra-hint-display-type’ should be declared before its referent Disable showing Disable logging
Warning (comp): bind-map.el:136:1: Warning: Alias for ‘bind-map-evil-local-bindings’ should be declared before its referent Disable showing Disable logging
Warning (comp): queue.el:47:30: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): queue.el:55:1: Warning: ‘defstruct’ is an obsolete alias (as of 27.1); use ‘cl-defstruct’ instead. Disable showing Disable logging
Warning (comp): popup.el:44:8: Warning: docstring wider than 80 characters Disable showing Disable logging
Warning (comp): info+.el:1314:30: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): info+.el:2781:4: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): info+.el:2813:43: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): info+.el:2955:4: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): info+.el:2961:15: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): info+.el:3433:10: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:3555:12: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:3554:20: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:3595:27: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:3595:27: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:4782:13: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:4814:18: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:6309:29: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): info+.el:6348:15: Warning: ‘isearch-word’ is an obsolete variable (as of 25.1); use ‘isearch-regexp-function’ instead. Disable showing Disable logging
Warning (comp): info+.el:6398:40: Warning: ‘isearch-word’ is an obsolete variable (as of 25.1); use ‘isearch-regexp-function’ instead. Disable showing Disable logging
Warning (comp): info+.el:6554:19: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:6553:14: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): info+.el:7273:10: Warning: the function ‘Info-bookmark-named-at-point’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:7013:56: Warning: the function ‘bookmark-get-bookmark-record’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:7013:6: Warning: the function ‘bookmark-default-handler’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:7006:23: Warning: the function ‘bookmark-prop-get’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:6354:74: Warning: the function ‘isearch-string-state’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:4932:14: Warning: the function ‘Info-insert-breadcrumbs’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3925:4: Warning: the function ‘apropos-parse-pattern’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3591:24: Warning: the function ‘bookmark-get-filename’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3586:6: Warning: the function ‘bookmark-maybe-load-default-file’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3336:31: Warning: the function ‘bmkp-get-tag-value’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3334:60: Warning: the function ‘Info-bookmark-for-node’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3323:61: Warning: the function ‘Info-bookmark-name-for-node’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3238:63: Warning: the function ‘outline-next-heading’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3190:40: Warning: the function ‘outline-up-heading’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3231:38: Warning: the function ‘outline-head-from-level’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3225:51: Warning: the function ‘outline-get-next-sibling’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3216:15: Warning: the function ‘outline-map-region’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3212:27: Warning: the function ‘outline-back-to-heading’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3009:49: Warning: the function ‘bmkp-bookmark-name-from-record’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:3002:38: Warning: the function ‘bmkp-remove-if-not’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2994:8: Warning: the function ‘bmkp-describe-bookmark’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2993:25: Warning: the function ‘bmkp-read-bookmark-for-type’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2570:8: Warning: the function ‘bmkp-set-tag-value’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2568:21: Warning: the function ‘bmkp-get-bookmark-in-alist’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2567:21: Warning: the function ‘bmkp-info-alist-only’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2566:60: Warning: the function ‘Info-read-bookmarked-node-name’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2566:29: Warning: the function ‘Info-bookmark-name-at-point’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:2525:11: Warning: the function ‘face-remap-remove-relative’ is not known to be defined. Disable showing Disable logging
Warning (comp): info+.el:1321:4: Warning: the function ‘tap-define-aliases-wo-prefix’ is not known to be defined. Disable showing Disable logging
Warning (comp): helm-lib.el:1048:46: Warning: the function ‘pos-eol’ is not known to be defined. Disable showing Disable logging
Warning (comp): helm-lib.el:997:24: Warning: the function ‘pos-bol’ is not known to be defined. Disable showing Disable logging
Warning (comp): holy-mode.el:65:24: Warning: reference to free variable ‘evil-buffer-regexps’ Disable showing Disable logging
Warning (comp): holy-mode.el:65:24: Warning: assignment to free variable ‘evil-buffer-regexps’ Disable showing Disable logging
Warning (comp): holy-mode.el:81:52: Warning: reference to free variable ‘evil-buffer-regexps’ Disable showing Disable logging
Warning (comp): holy-mode.el:81:52: Warning: assignment to free variable ‘evil-buffer-regexps’ Disable showing Disable logging
Warning (comp): holy-mode.el:101:25: Warning: reference to free variable ‘evil-state’ Disable showing Disable logging
Warning (comp): holy-mode.el:103:28: Warning: reference to free variable ‘evil-evilified-state-modes’ Disable showing Disable logging
Warning (comp): holy-mode.el:104:28: Warning: reference to free variable ‘evil-motion-state-modes’ Disable showing Disable logging
Warning (comp): holy-mode.el:105:14: Warning: the function ‘evil-normal-state’ is not known to be defined. Disable showing Disable logging
Warning (comp): holy-mode.el:104:54: Warning: the function ‘evil-motion-state’ is not known to be defined. Disable showing Disable logging
Warning (comp): holy-mode.el:103:57: Warning: the function ‘evil-evilified-state’ is not known to be defined. Disable showing Disable logging
Warning (comp): holy-mode.el:99:28: Warning: the function ‘evil-emacs-state’ is not known to be defined. Disable showing Disable logging
Warning (comp): hybrid-mode.el:178:28: Warning: reference to free variable ‘evil-evilified-state-modes’ Disable showing Disable logging
Warning (comp): hybrid-mode.el:178:57: Warning: the function ‘evil-evilified-state’ is not known to be defined. Disable showing Disable logging
Warning (comp): evil-unimpaired.el:85:13: Warning: reference to free variable ‘evil-normal-state-map’ Disable showing Disable logging
Warning (comp): evil-unimpaired.el:91:13: Warning: reference to free variable ‘evil-visual-state-map’ Disable showing Disable logging
Warning (comp): evil-unimpaired.el:94:13: Warning: reference to free variable ‘evil-motion-state-map’ Disable showing Disable logging
Warning (comp): evil-unimpaired.el:65:4: Warning: the function ‘evil-insert-newline-below’ is not known to be defined. Disable showing Disable logging
Warning (comp): evil-unimpaired.el:60:4: Warning: the function ‘evil-paste-after’ is not known to be defined. Disable showing Disable logging
Warning (comp): evil-unimpaired.el:59:4: Warning: the function ‘evil-insert-newline-above’ is not known to be defined. Disable showing Disable logging
Warning (comp): symbol-overlay.el:177:7: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
Warning (comp): undo-tree.el:2232:41: Warning: assignment to free variable ‘changeset’ Disable showing Disable logging
Warning (comp): undo-tree.el:2234:33: Warning: reference to free variable ‘changeset’ Disable showing Disable logging
Warning (comp): undo-tree.el:2371:16: Warning: ‘undo-elt-crosses-region’ is an obsolete function (as of 25.1). Disable showing Disable logging
Warning (comp): undo-tree.el:2580:16: Warning: ‘undo-elt-crosses-region’ is an obsolete function (as of 25.1). Disable showing Disable logging
Warning (comp): undo-tree.el:2774:5: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
Warning (comp): undo-tree.el:3159:14: Warning: ‘registerv-make’ is an obsolete function (as of 27.1); Use your own type with methods on register-val-(insert|describe|jump-to) Disable showing Disable logging
Warning (comp): ws-butler.el:57:13: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): ws-butler.el:151:8: Warning: docstring wider than 80 characters Disable showing Disable logging
...

Compiling internal form(s) at Thu Aug 17 20:12:17 2023
Leaving directory ‘/home/szabi/.emacs.d/spacemacs/elpa/28.2/develop/helm-core-3.9.3’

Compiling file /home/szabi/.emacs.d/spacemacs/elpa/28.2/develop/helm-core-3.9.3/helm-core.el at Thu Aug 17 20:12:17 2023
Entering directory ‘/home/szabi/.emacs.d/spacemacs/elpa/28.2/develop/helm-core-3.9.3/’

Compiling file /home/szabi/.emacs.d/spacemacs/elpa/28.2/develop/helm-core-3.9.3/helm-lib.el at Thu Aug 17 20:12:18 2023

Compiling file /home/szabi/.emacs.d/spacemacs/elpa/28.2/develop/helm-core-3.9.3/helm-multi-match.el at Thu Aug 17 20:12:18 2023

Compiling file /home/szabi/.emacs.d/spacemacs/elpa/28.2/develop/helm-core-3.9.3/helm-source.el at Thu Aug 17 20:12:18 2023

Compiling file /home/szabi/.emacs.d/spacemacs/elpa/28.2/develop/helm-core-3.9.3/helm.el at Thu Aug 17 20:12:18 2023

In toplevel form:
misc/flx-helm-demo.el:2:1: Error: Cannot open load file: No such file or directory, flx-test-list

In toplevel form:
misc/flx-ido-demo.el:2:1: Error: Cannot open load file: No such file or directory, flx-test-list

In toplevel form:
cc-mode-expansions.el:48:1: Warning: Package cl is deprecated

In er/ruby-backward-up:
ruby-mode-expansions.el:86:24: Warning: ‘loop’ is an obsolete alias (as of
    27.1); use ‘cl-loop’ instead.
ruby-mode-expansions.el:96:24: Warning: ‘return’ is an obsolete alias (as of
    27.1); use ‘cl-return’ instead.

In end of data:
the-org-mode-expansions.el:42:15: Warning: the function ‘org-element-at-point’
    is not known to be defined.

In toplevel form:
evil-unimpaired.el:85:13: Warning: reference to free variable
    ‘evil-normal-state-map’
evil-unimpaired.el:91:13: Warning: reference to free variable
    ‘evil-visual-state-map’
evil-unimpaired.el:94:13: Warning: reference to free variable
    ‘evil-motion-state-map’

In end of data:
evil-unimpaired.el:65:4: Warning: the function ‘evil-insert-newline-below’ is
    not known to be defined.
evil-unimpaired.el:60:4: Warning: the function ‘evil-paste-after’ is not known
    to be defined.
evil-unimpaired.el:59:4: Warning: the function ‘evil-insert-newline-above’ is
    not known to be defined.

In end of data:
evil-nerd-commenter.el:472:6: Warning: the function
    ‘web-mode-comment-or-uncomment-region’ is not known to be defined.

In evil-indent-plus--geq-p:
evil-indent-plus.el:57:29: Warning: reference to free variable ‘base’

In evil-indent-plus--g-p:
evil-indent-plus.el:63:28: Warning: reference to free variable ‘base’

...

In evil-exchange:
evil-exchange.el:88:23: Warning: function evil-exchange used to take 0+
    arguments, now takes 2-3
evil-exchange.el:88:23: Warning: function ‘evil-exchange’ defined multiple
    times in this file

In evil-escape--insert:
evil-escape.el:322:4: Warning: Unused lexical variable `err'

In evil-backward-arg:
evil-args.el:154:14: Warning: looking-back called with 1 argument, but
    requires 2-3

In evil-outer-arg:
evil-args.el:194:22: Warning: looking-back called with 1 argument, but
    requires 2-3
evil-args.el:198:22: Warning: looking-back called with 1 argument, but
    requires 2-3
evil-args.el:198:22: Warning: looking-back called with 1 argument, but
    requires 2-3

In end of data:
avy-pkg.el:2:2: Warning: the function ‘define-package’ is not known to be
    defined.

In avy-mouse-event-window:
avy.el:487:8: Warning: docstring wider than 80 characters
avy.el:1528:1: Warning: custom-declare-variable `avy-indent-line-overlay'
    docstring wider than 80 characters

Compiling internal form(s) at Thu Aug 17 20:14:11 2023

In toplevel form:
ace-window.el:95:1: Warning: custom-declare-variable `aw-minibuffer-flag'
    docstring wider than 80 characters
ace-window.el:99:1: Warning: custom-declare-variable `aw-ignored-buffers'
    docstring wider than 80 characters
ace-window.el:104:1: Warning: custom-declare-variable `aw-ignore-on' docstring
    wider than 80 characters
ace-window.el:138:1: Warning: custom-declare-variable `aw-frame-offset'
    docstring wider than 80 characters
ace-window.el:143:1: Warning: custom-declare-variable `aw-frame-size'
    docstring wider than 80 characters
ace-window.el:157:1: Warning: defvar `aw-dispatch-alist' docstring wider than
    80 characters
ace-window.el:191:1: Warning: custom-declare-variable `aw-make-frame-char'
    docstring wider than 80 characters

In aw-make-frame:
ace-window.el:440:8: Warning: docstring wider than 80 characters

In toplevel form:
test/make-compile.el:1:7: Warning: assignment to free variable ‘files’
test/make-compile.el:2:7: Warning: assignment to free variable
    ‘byte-compile--use-old-handlers’
test/make-compile.el:3:27: Warning: reference to free variable ‘files’

In toplevel form:
test/make-update.el:9:7: Warning: assignment to free variable
    ‘package-archives’

In end of data:
test/make-update.el:26:10: Warning: the function ‘package-menu-execute’ is not
    known to be defined.
test/make-update.el:25:10: Warning: the function ‘package-menu-mark-upgrades’
    is not known to be defined.
test/make-update.el:16:12: Warning: the function ‘package-installed-p’ is not
    known to be defined.
smile13241324 commented 1 year ago

Have you tried to not move the install folder? Thats the only non vanilla thing I can see.

w1ldptr commented 1 year ago

Just want to chime in that even though this issue is somehow closed as "completed" I still can't update with IPv6 enabled. Note that my IPv6 and DNS is fine and not causing trouble with anything else.

jsb05 commented 1 year ago

I know it's an old thread but this might help someone in the future.

I had the same issue plus it was very slow. My solution was to use to use the latest version of emacs. The one (27.1) shipped by Ubuntu LTS was too old and I installed 29.1 from snap instead.

devurandom commented 9 months ago

@xparq Your problem might be related to #16122. A workaround seems to be to disable TLSv1.3.

See-also: https://github.com/syl20bnr/spacemacs/issues/16122

SamHasler commented 2 weeks ago

For me this appears to have been due to a missing/empty .lock file (caused by using OneDrive to sync my config between machines and OneDrive not wanting to sync the .lock file (possibly because it was in use.))

When I got emacs/spacemacs to regenerate the .lock file on the new machine it contained:

;; -*- mode: emacs-lisp -*-

(setq configuration-layer-stable-elpa-name "spacelpa")
(setq configuration-layer-stable-elpa-version "0.400")
(setq configuration-layer-stable-elpa-archive (concat configuration-layer-stable-elpa-directory
                                                      "spacelpa-"
                                                      configuration-layer-stable-elpa-version))
(setq configuration-layer-elpa-subdirectory "develop")

(setq configuration-layer-elpa-archives
      `(("melpa"    . "melpa.org/packages/")
        ("gnu"      . "elpa.gnu.org/packages/")
        ("nongnu"   . "elpa.nongnu.org/nongnu/")
        ("spacelpa" . ,(concat configuration-layer-stable-elpa-archive "/packages/"))))

(setq package-archive-priorities
      '(("spacelpa" . 8)
        ("melpa"    . 4)
        ("nongnu"   . 2)
        ("gnu"      . 1)))

Which suggests that it was an issue with not knowing where the archives were or prioritising them incorrectly (I also have customisations for these variables, but it appears having them in the .lock file is required to start up successfully).