-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fresh Spacemacs install with Emacs 29.1.1 breaks Emacs #16122
Comments
Reproduced on MacOS 12.3 on Emacs 29.1 (homebrew) and the "cask" version of Emacs. Also reproduced in a debian docker image on GNU Emacs 28.2 |
Also duplicated in Alternatively, I had only a single error[1] when installing from [1]
|
Seems to be a melpa problem. When I wait a few minutes, some more packages can be installed. |
After debugging this for my own installation last night, I found that setting the following within the
This was added within the (defun dotspacemacs/init ()
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;; rest of init config ...
) Prior to adding that configuration line I also found that artificially throttling my bandwidth to something like 10Mb/s improved the process and reduced the number of packages that experienced an error. EDIT: Applied the typo fixes from @sfalmo |
Reducing the bandwidth seems to help also in my case. But I could not reproduce the solution of @Dangeranger. There are a few typos, but even after correcting them (see below), the package installs fail most of the time. (defun dotspacemacs/init ()
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;; rest of init config ...
) |
Using @sfalmo 's modification helped. I can confirm that after opening Emacs, letting the system attempt a compilation until it failed, closing, and reopening in a cycle ~300 times I was able to acquire all of my packages and they seem to be working fine, but obviously that's not really a solution. I couldn't figure out how to implement a time delay, but this brute force method worked for anyone coming trying to figure out how to just get a working configuration. In my case, progress would often pause (ie the # of packages remaining to install stayed constant for period of up to 10-20 cycles in a row), but if you keep with it eventually it will work. |
When I tried again now - things just worked for me, huge relief after a day trying to remember long forgotten plain emacs commands ... 😁 |
I have problems with the first install of Spacemacs in my machine using Emacs 28.2...with --debug-init I see messages with "Emacs version too old" Is this issue related? 28.2 is the previous version. |
@joakim-hove Works now for me first try as well. Looks like whatever was going on has been resolved. (Mac Sonoma beta, emacs-mac 29 with ~all options turned on, fresh emacs). |
Problem solved, new install without problems! |
Adding the recommendation by @Dangeranger and @sfalmo did not solve the problem for me with a fresh Emacs 29 install. I'm still seeing the messages stating packages are unavailable. I also tried going back to Emacs 28 and had the same issue using the latest Spacemacs install. Update: I was able to get packages to install by gradually adding layers back in but I believe there was something in my The following line was in my (use-package lsp-vue
:ensure t
:config
(add-hook 'vue-mode-hook #'lsp)) |
I was able to fix this by running the following in emacs 29.2 after unsuccesful initial start of spacemacs.
|
Is this issue still there? Do you still encounter issues installing packages at large? I have installed a new spacemacs instance on wsl2 3 weeks ago and it was installing all packages without issues. If nobody has this anymore or nobody replies I am going to close this ticket. |
Fresh Spacemacs install with Emacs 29.1.1 breaks Emacs
OS: Arch-Linux
I have tried to do a fresh install of Emacs / Spacemacs, and many packages are not being able to be found.
Then installing Spacemacs at
df30d9592674f71fd304091de61582f1682d506d
When opening up Spacemacs, these are the errors:
The text was updated successfully, but these errors were encountered: