[arch-haskell] ghc: /usr/share/doc/ghc/html/libraries/hslogo-16.png exists in filesystem

Mateusz Loskot mateusz at loskot.net
Mon Oct 15 18:16:24 CEST 2012


On 15 October 2012 11:00, Thomas Friedrich <info at suud.de> wrote:
> 2012/10/13 Fabio Riga <rifabio at gmail.com>:
>> 2012/10/13 Ramana Kumar <ramana at member.fsf.org>
>>>
>>> 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

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net



More information about the arch-haskell mailing list