[Haskell-cafe] ghc 7.10.1-rc1 ghc no longer supports single-file style package databases (dist/package.conf.inplace) use 'ghc-pkg init' to create the database with the correct format.

Konstantine Rybnikov k-bx at k-bx.com
Fri Dec 26 08:30:25 UTC 2014


Ubuntu 14.04 64-bit, btw, and haskell from
https://downloads.haskell.org/~ghc/7.10.1-rc1/ghc-7.10.0.20141222-x86_64-unknown-linux-deb7.tar.xz

On Fri, Dec 26, 2014 at 10:29 AM, Konstantine Rybnikov <k-bx at k-bx.com>
wrote:

> Hi!
>
> I just did `sudo make install` on ghc 7.10.1-rc1, removed ~/.ghc and did
> `cabal update`. I'm now trying to upgrade to latest cabal by issuing `cabal
> install cabal-install`. I get the following:
>
> ```
> ...
> on the commandline: Warning:
>     -package-name is deprecated: Use -this-package-key instead
> ghc: ghc no longer supports single-file style package databases
> (dist/package.conf.inplace) use 'ghc-pkg init' to create the database with
> the correct format.
> Failed to install zlib-0.5.4.2
> cabal: Error: some packages failed to install:
> HTTP-3001.0.4 depends on text-1.2.0.3 which failed to install.
> cabal-install-0.4.0 depends on zlib-0.5.4.2 which failed to install.
> mtl-2.2.1 failed during the building phase. The exception was:
> ExitFailure 1
> network-2.6.0.2 failed during the building phase. The exception was:
> ExitFailure 1
> parsec-3.1.7 depends on text-1.2.0.3 which failed to install.
> text-1.2.0.3 failed during the building phase. The exception was:
> ExitFailure 1
> zlib-0.5.4.2 failed during the building phase. The exception was:
> ExitFailure 1
> ```
>
> Does anyone know a quick-fix?
>
> Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141226/efcbf240/attachment.html>


More information about the Haskell-Cafe mailing list