-
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
"Package X is unavailable. Is the package name misspelled?" #13957
Comments
@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. |
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 |
Unfortunately, the issue is still there... Just deleted the .emacs.d directory and re-cloned it with |
🤔 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. |
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. |
Then I am totally clueless what's happening there 😕, maybe someone from the community can reproduce your issue. |
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. |
Also able to reproduce on a fresh install on Windows 10 Pro. Is it related to #11273 ? I get very similar behavior. Edit: Also Emacs 27.1 |
I was getting similar "Package X is unavailable" (in my case, one of them was 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. |
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. |
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:
|
For future references: Please check your network settings, including your DNS and IPV6 connections. |
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 The only relevant customization is moving it into a subdir, as per the install guide:
Also retried with Giving up. Logs (edit buffer contents):
|
Have you tried to not move the install folder? Thats the only non vanilla thing I can see. |
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. |
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. |
Description
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 🪲
Observed behaviour: 👀 💔
234 "Package X is unavailable. Is the package name misspelled?" errors out of the 254 packages that should be installed.
Expected behaviour: ❤️ 😄
The 234 packages get installed, too.
(%LAST_KEYS%)
%SYSTEM_INFO%
Backtrace 🐾
The text was updated successfully, but these errors were encountered: