[Haskell-cafe] Cannot install any packages after upgrading to GHC 8.0.1

Edward Z. Yang ezyang at mit.edu
Mon Jul 11 15:11:34 UTC 2016

Yes, you need to upgrade your cabal-install.

If you still have an old version of GHC around, you can upgrade using:

    cabal update
    cabal install -w /path/to/old/ghc cabal-install


Excerpts from Magicloud Magiclouds's message of 2016-07-11 03:49:20 -0400:
> Hi,
> I update my GHC to 8.0.1 and failed to install any packages since then.
> If I use cabal, I got 'installed package info from too old version of Cabal
> (key field does not match id field)' for every package.
> If I use Setup.hs, I got 'Configuring Cabal-
> Setup.hs: ghc-pkg dump failed'.
> What should I do? Googling did not get me an answer.

More information about the Haskell-Cafe mailing list