I think the answer is because we&#39;re still figuring out the best way to package Haskell programs and libraries, and Haskell tools (ghc, cabal) already have their own package-like-but-not-really systems for dealing with packages, which are difficult to cooperate with.<br>

<br>I wonder if anyone has tried NixOS and whether the situation is better there?<br><br>I know on many distros (including Arch!) a lot of people give up and use the Haskell tools exclusively and avoid distro package management for Haskell stuff.<br>

But that is not a good solution in the long run, because cabal is explicitly not a package manager: it doesn&#39;t know how to remove stuff cleanly and never will, amongst other problems.<br><br><div class="gmail_quote">
On Mon, Oct 15, 2012 at 11:00 AM, Thomas Friedrich <span dir="ltr">&lt;<a href="mailto:info@suud.de" target="_blank">info@suud.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2012/10/13 Fabio Riga &lt;<a href="mailto:rifabio@gmail.com">rifabio@gmail.com</a>&gt;:<br>
<div class="im">&gt; 2012/10/13 Ramana Kumar &lt;<a href="mailto:ramana@member.fsf.org">ramana@member.fsf.org</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m not sure why that error happened but it happened to me too.<br>
&gt;<br>
&gt; The problem seems to be that those files were not part of any package,<br>
&gt; but now are in ghc.<br>
&gt;<br>
&gt;&gt; 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).<br>
&gt;&gt; So I&#39;m not sure what the correct way out is. Perhaps it will require some manual removals then reinstalls.<br>
&gt;<br>
&gt; This is a problem with ghc-pkg version. For previous version of ghc I had to do:<br>
&gt;<br>
&gt;   $ pacman -Rcs ghc<br>
&gt;<br>
&gt; then reinstall ghc and needed haskell-* packages. I think you&#39;ll want<br>
&gt; to remove the offending files before installing ghc again. I hope this<br>
&gt; solve the problem.<br>
&gt;<br>
&gt; Fabio<br>
&gt;<br>
<br>
<br>
</div>Why is it that every single time there is a ghc-update, I have to<br>
remove everything and reinstall everything haskell related. Haskell is<br>
such a cool language but keeping a Haskell environment up-to-date is<br>
sometimes just a real pain.<br>
<br>
Sorry for the rant.<br>
<span class="HOEnZb"><font color="#888888">Thomas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
arch-haskell mailing list<br>
<a href="mailto:arch-haskell@haskell.org">arch-haskell@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/arch-haskell" target="_blank">http://www.haskell.org/mailman/listinfo/arch-haskell</a><br>
</div></div></blockquote></div><br>