-
Notifications
You must be signed in to change notification settings - Fork 842
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
Failed to install GHC 7.10: fatal error with tar
command.
#841
Comments
tar
command.tar
command.
@drwebb as our resident Arch user, is this something you might be able to help with? |
@wismill, have you tried installing GHC 7.10.2 manually to see if you have the same problem?
|
I've just upgraded stack to master So something strange is happening here, I've no real ideas. As a work around you can install 7.10.1 from the official Extra repo, and hope the version is bumped to 7.10.2 soon. |
@borsboom I tried your method and it works. |
Ok, got it:
Explanation: extraction in Setup.hs uses Conclusion: I do not think I would like to add an element of context: I want to use Yesod and contrary to PHP, Python, Ruby, etc. there is no turnkey provider. So one needs a server with root access and VPS is a very good solution. But often these "machines" will have limited resources and my issue could then show up often. |
I don't think it's worth checking for disk space beforehand, but including the location it's trying to extract the tarball in would help users determine where the problem is. This would be a good task for a newcomer who wants to get their hands in the code, so pull requests are most welcome. |
@wismill Do you think it can be closed? |
@wismill Thanks for the tip! This fixed the issue on a fresh Arch install. |
@bixuanzju thanks for the commit but I am not fully convinced and there is also an ongoing discussion on issues #623 and #996. |
Closing in favour of #996 |
Hi, I cannot install GHC 7.10 on ArchLinux 64 bits running on a VPS. However, it works well for GHC 7.8.4.
I have the following output, the last line repeating for a lot of files:
There is enough space on the device (see below). I can extract manually the tar.xz file downloaded by stack without problem using
tar xf ~/.stack/programs/x86_64-linux/ghc-7.10.2.tar.xz
.The text was updated successfully, but these errors were encountered: