Reputation: 73
I am trying to install the dependencies for a project but I am running into this error:
Failed to install base-unicode-symbols-0.2.2.4
cabal: Error: some packages failed to install: base-unicode-symbols-0.2.2.4 failed during the final install step.
The exception was: /tmp/pkgConf-base-unicode-symbols-0.2.25614.4: hGetContents: invalid argument (invalid byte sequence)
I am running Debian 7 with the latest Haskell-Platform built from source.
How do I fix it? Thanks, James
Upvotes: 3
Views: 493
Reputation: 81
I just had this problem and after search, found this solution: https://github.com/haskell/cabal/issues/1883
To summarize, the problem can be solved by setting your locale. On linux:
export LANG="en_US.UTF-8"
was good enough for me.
Upvotes: 2