Hi Brandon<div><br><br><div class="gmail_quote">On Wed, Feb 15, 2012 at 9:25 PM, Brandon Allbery <span dir="ltr"><<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_quote"><div>I think you'll need -v to see what's going on</div></div></div></blockquote><div><br></div><div>This seems to provide no more information. There's some extra junk in the output, but it still gives me the same message about a dependency on multiple versions (of *what*? if it knows there exists such a package, presumably it knows *which*?), and despite cabal telling me that -v will provide more information on the missing or recursive dependency (what, are "missing" and "recursive" so similar we can't tell them apart? They seem like totally different problems to me), there is no such extra information with -v.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>but my guess is you somehow have multiple versions of either array or containers with the same version number but different hashes, or that one of the packages depends on a no longer installed package with the right version but had a different hash.</div>
<div><br></div><div>My guess is it's containers, because the containers -> array dependency is listed twice --- making me suspicious that those are two separate instances with the same version but different hashes (which aren't normally shown there).</div>
</div></div></blockquote><div><br></div><div>ghc-pkg tells me I have two array versions installed. I unregistered the earlier array-0.3.0.3, but I still get the same error when trying to install cabal-dev.</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div class="im">
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><pre style="margin-top:0px;margin-bottom:10px;padding-top:5px;padding-right:5px;padding-bottom:5px;padding-left:5px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;width:auto;max-height:600px;line-height:18px;text-align:left">
<code style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"> Cabal-1.14.0-4af45d3c8d10dc27db38ae0e7e5a952b is unusable due to missing or recursive dependencies:
array-0.4.0.0-46f61f5fd9543ebf309552ef84dccc86 containers-0.4.2.1-98f9aa15f9c08b13673dc9d89385f449
</code></pre></div></blockquote></div></div>This shows the hashes for one of those sets, but not the other.</div></blockquote><div><br></div><div>Sorry, what sets do you mean? I see one hash for array-0.4.0.0, another for containers-0.4.2.1, and another for Cabal-1.14.0.</div>
<div><br></div>I guess another thing I don't understand is: why is there both a version number and a hash? I'm told by Hackage that "Re-uploading a package with the same version number is not permitted" (<a href="http://hackage.haskell.org/packages/upload.html">http://hackage.haskell.org/packages/upload.html</a>), so how could I have a package with two different hashes? Unless one or both came from somewhere other than Hackage, perhaps?</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Yet another thing I don't properly understand is the relationship between all these Haskell packaging organizations and programs. cabal seems to have some pseudo-official relationship with Hackage. And how do cabal and ghc-pkg interact? Where are things on my system apart from in ~/.cabal?</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Thanks</div><div class="gmail_quote"><br></div><div class="gmail_quote">James</div></div>