
On 15 October 2012 17:16, Mateusz Loskot
On 15 October 2012 11:00, Thomas Friedrich
wrote: 2012/10/13 Fabio Riga
: 2012/10/13 Ramana Kumar
I'm not sure why that error happened but it happened to me too.
The problem seems to be that those files were not part of any package, but now are in ghc.
I removed the offending files manually and tried again, and ran into more problems (although everything installed, there were many warnings about interface files being the wrong version and being skipped). So I'm not sure what the correct way out is. Perhaps it will require some manual removals then reinstalls.
This is a problem with ghc-pkg version. For previous version of ghc I had to do:
$ pacman -Rcs ghc
then reinstall ghc and needed haskell-* packages. I think you'll want to remove the offending files before installing ghc again. I hope this solve the problem.
Why is it that every single time there is a ghc-update, I have to remove everything and reinstall everything haskell related. Haskell is such a cool language but keeping a Haskell environment up-to-date is sometimes just a real pain.
As Haskell newbie and new born Hakyll users, I've found recent replies [1] by Ian Ross interesting:
"I'm also using Arch Linux on x86_64. I would strongly recommend *not* using the Arch packages for most Haskell things. I use hsenv instead."
I haven't switched myself and I still use the packages, but I started to wonder if Ian's got the point indeed.
[1] https://groups.google.com/d/topic/hakyll/9G1qXBA4raU/discussion
This is just an update on the discussion I referred to, Ian posted more details on his blog: http://www.skybluetrades.net/posts/2012/10/13/arch-haskell.html Other users may find it interesting too. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net