简体   繁体   中英

Something went wrong installing Haskell failed to install ghc

ghc-8.6.5/compiler/stage2/build/libHSghc-8.6.5-ghc8.6.5.dylib: Lzma library error: No progress is possible tar: Error exit delayed from previous errors. unpacking failed! Failed to install, consider updating this script via: ghcup upgrade "ghcup --cache install" failed!

I'm installing the GHC by using

curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

My Internet cut and I had to shut down the terminal and rerun the program. I now get this error. It seems some file package was corrupt but I'm not sure how to find and delete the corrupt files manually or if there is some other way to repair the installation?

You have a partially downloaded, and thus corrupted, file in ~/.ghcup/cache/ . Delete it and rerun ghcup.

curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh My OS is "Ubuntu 18.04". I get an error. Is this related to some linker problem?

UPDATE Solve problem, FIX IT: sudo apt-get install libnuma-dev

Info: This is an GHC or related Bug.

[ Error ] Process "make" with arguments ["install"] failed with exit code 2. [ Error ] Also check the logs in /home/hub/.ghcup/logs "_eghcup --cache install ghc recommended" failed!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM