I get this error at spacemacs startup. I only have the emacs-lisp, org layers.
installing org:org-plus-contrib... [1/1]An error occurred while installing org-plus-contrib (error: (error Package does not untar cleanly into directory org-plus-contrib-20151123/))
(Spacemacs) --> installing org:org-plus-contrib... [1/1]
Contacting host: orgmode.org:80
Parsing tar file...
Warning: premature EOF parsing tar file
I have the same problem but I'm using emacs without spacemacs, so this issue should be unrelated to spacemacs.
Looks like a package downloading/extraction problem yes.
Ok, I resolved the problem by actually using the right URL:
- ("org" . "http://org-mode.org/elpa/")
+ ("org" . "http://orgmode.org/elpa/")
Here's what I did to try to debug the problem:
Show the list of packages:
Search for org-plus-contrib using C-s, click on the package to bring up the details. I noticed the detail buffer was filled with HTML, so I thought maybe I had the wrong URL since that should not happen. Lo and behold I was using wrong URL according to http://orgmode.org/elpa.html
I don't think that's the issue for @icymist since the right URL is used in core-configuration-layer.el.
Thanks for the feedback. Indeed we are using orgmode.org both in master and develop, so it's not this :-/
@icymist Does it work now? Maybe it was a temporary orgmode.org issue…
Yep. The problem still persists.
I completely removed Emacs and Spacemacs, reinstalled both again, and finally only enabled the org layer. That was the only change I did in .spacemacs.
Can you paste here the result of SPC h d s?
SPC h d s
Sadly I can't reproduce this environment to help further. Emacs 25.0 is not officially supported, and we know there are some problem with it :-)
Just a suggestion. Maybe it should be mentioned in the pre-requisites that 25.0 is not supported. It says that 24.4 or higher is recommended. And, 25.0 > 24.4 ;)
I will try with 24.5 and report back.
Issue persists. This is what I have from SPC h d s.
Update the README for Emacs 25 being buggy
As suggested in #4000, make clear that Emacs 25 is only partially
@icymist I created a PR to specify Emacs 25 could be buggy 👍
For me it seems like a platform problem, and as I don't have any windows I can't help more, sorry. I hope some windows users will take over!
@icymist what tar do you have on your machine in the PATH
I did not have any tar before. I added \usr\bin from PortableGit to the path. Now, I think that 'tar' is being used.
From cmd.exe, this is what I get.
tar (GNU tar) 1.28
I am not sure, if the same tar is accessible from emacs. If someone can tell me how to do that, I will report back.
The issue still persists, after the above tar is accessible from cmd.exe.
You can try to look at the PATH within emacs M-: (getenv "PATH")
M-: (getenv "PATH")
I do have access to the tar provided by Git (see below).
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Riverbed\Steelhead Mobile;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Users\cande\Applications\Continuum\Anaconda3;C:\Users\cande\Applications\Continuum\Anaconda3\Scripts;C:\Users\cande\Applications\Continuum\Anaconda3\Library\bin;C:\Users\cande\Applications\Continuum\Anaconda3;C:\Users\cande\Applications\Continuum\Anaconda3\Scripts;C:\Users\cande\Applications\PortableGit\cmd;**\Users\cande\Applications\PortableGit\usr\bin;**C:\Users\cande\AppData\Local\Pandoc\
This is the only place in the emacs source that I can find that warning
To me that suggests that it's a bad tar file somehow, but it also is not an error. It's just producing a message.
Ok. I think I found the issue. The issue might not actually be spacemacs. Can someone give me the full url of the org-plus-contrib package that is being downloaded by spacemacs? I can then verify and report back.
@icymist http://orgmode.org/elpa.html is the information and http://orgmode.org/elpa/ is the listing
Looks like some access restrictions on my side (see screenshot). I see that when I try to download the package from the browser. So, definitely not an issue from spacemacs. Sorry for the noise.
Either it is the anti-virus (McAfee) or something else, that is blocking access. I will try to figure out. If someone has an idea, please let me know.
Just a suggestion. I might have figured out this was the problem if I had access to the full url from the error logged in the 'messages' buffer. Maybe it's a good idea to echo the full url in case of an issue.
The displayed message is not handled by Spacemacs so we can't do anything :-(
It's a cisco message, so probably not your machine but the configuration on some parts of your network.