error with package ghc-6.10.1 and its dependency on
duncan.coutts at worc.ox.ac.uk
Tue Nov 25 04:27:05 EST 2008
On Mon, 2008-11-24 at 20:05 +0000, Thomas Schilling wrote:
> Could it be that the cabal gets confused because there are two
> versions of Cabal-22.214.171.124 but which probably depend on two different
> versions of process?
That could well be it. The user and global package dbs simply get
overlayed so identical package versions in the user-db mask ones in the
global db. So that would indeed mean that cabal would think that the ghc
global package depended on the Cabal package from the user db, which is
built against the different version of the process lib.
So the workaround for Allan would be to unregister the Cabal-126.96.36.199
from the user db: ghc-pkg unregister --user Cabal-188.8.131.52
and probably to rebuild anything that depends on it.
We'll have to think about if there's a better way to manage this. In the
longer term I'd like to use hashes to identify installed packages but
More information about the cabal-devel