You are not logged in.
Pages: 1
While installing haskell I get lots of this error:
haddock: internal error: Data.Binary.getWord8: end of fileI also get
pandoc-1.12.3.3: dependency "yaml-0.8.8.2-db152c7faf03cdd259e89bd80c6efb5c" doesn't exist (use --force to override) once
Yet if I run: pandoc -t html sample.txt
It produces the expected result.
Nevertheless ... it seems obvious that there is a problem here.
I've un-installed and re-installed all the haskell packages but to no avail.
Perhaps someone with more experience with haskell knows what's going on and can point me in the right direction? ![]()
Thanks.
R.
Edit: Just for reference I used this and this in the wiki to guide me in the process.
Last edited by ralvez (2014-04-25 23:42:14)
Offline
I've seen errors like the second before and it was because I had a mixture of packages from the primary repos and [haskell-core]. I ended up uninstalling everything from the Arch repos, made sure that [haskell-core] was above [extra], and reinstalling everything.
Offline
@skottish,
Thanks for your reply.
I do have [haskell-core] above [extra] as per the wiki instructions. I do not know, however, if I had some haskell items pulled by another app I installed before I added the haskell repo.
The error that bothers me the most is the haddoc one. Googling about the error I do not get much to go with to understand what the problem is ![]()
R.
Offline
Are you using haddock from [community]? [haskell-core] is using ghc's built in one and doesn't have haddock in its repos. I'm wondering if somehow there's a mismatch there. I'm not sure how though.
Last edited by skottish (2014-04-26 02:57:16)
Offline
Well ... that last post gave me something to think ![]()
So, I query my pacman db for haddock and to my surprise it was not installed.
The *only* version available was : community/haddock 2.13.2.1-1 so I installed it.
Of course I got the same error during installation:
haddock: internal error: Data.Binary.getWord8: end of fileHowever, after installing it, and just to "force" an error I did a re-install with the following results.
pacman -S haddock
warning: haddock-2.13.2.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Packages (1): haddock-2.13.2.1-1
Total Installed Size: 60.20 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##################################] 100%
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking for file conflicts [##################################] 100%
(1/1) checking available disk space [##################################] 100%
error: command failed to execute correctly
(1/1) reinstalling haddock [##################################] 100%
error: command failed to execute correctlyNotice the error: command failed to execute correctly ?
That's odd because everything seems to work OK. I wonder what "command" fails.
The haddock error is gone though. ![]()
R.
Offline
I've seen those a bunch of times surrounding haskell packages, but everything always works and I forget to look into it. It's happening at the haskell level and not the pacman level, that much I'm sure.
I was thinking of your error earlier and decided to not post in case someone that actually knew what they were talking about would jump in. That didn't happen, so...
I've never seen your haddock error before this thread and my best guess right now is that there's something wrong with your ghc install. If I were in your position, I'd remove ghc from pacman's cache and reinstall it. Actually, when I was trying to clean up the haskell situation on my machine in regards to the other error, I removed every haskell package from my pacman cache before I upgraded.
Offline
... It's happening at the haskell level and not the pacman level, that much I'm sure.
Yes, I concur. Pacman does its job just fine.
I've never seen your haddock error before this thread and my best guess right now is that there's something wrong with your ghc install. If I were in your position, I'd remove ghc from pacman's cache and reinstall it. Actually, when I was trying to clean up the haskell situation on my machine in regards to the other error, I removed every haskell package from my pacman cache before I upgraded.
At some point in time while troubleshooting the issue I did remove all haskell related files from my /var/chache/pacman/pkg
But I'll take your advice and remove and re-install ghc (including removing it from the chache).
I'll report back if that fixes the problem.
BTW, I appreciate the time you've put into helping me. ![]()
R.
Offline
... and so I did. ![]()
I removed all Haskell and Haskell related files and their dependencies. Then, I removed form /var/cache/pacman/pkg all the backup files so they would be downloaded once again upon install.
Finally I issued a pacman -Syy to refresh all repositories and then I re-installed everything.
/*suspense music in the background
*/
Same result as before !! ![]()
I think it would be unfair to take anymore of your time on this one. Things work OK (at least I do not see any weird things as I work) so I'll let it go for that money...
I have a feeling it is related to the files currently in the repositories and not the process to get the files.
I appreciate your help very much!!
Thanks.
R.
Offline
Pages: 1