<p dir="ltr">I believe that means you need to upgrade to cabal-install 1.22.</p>
<br><div class="gmail_quote">On Fri, Dec 26, 2014, 10:30 AM Konstantine Rybnikov <<a href="mailto:k-bx@k-bx.com">k-bx@k-bx.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi!<br><br>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:<br><br>```<br>...<br>on the commandline: Warning:<br>    -package-name is deprecated: Use -this-package-key instead<br>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.<br>Failed to install zlib-0.5.4.2<br>cabal: Error: some packages failed to install:<br>HTTP-3001.0.4 depends on text-1.2.0.3 which failed to install.<br>cabal-install-0.4.0 depends on zlib-0.5.4.2 which failed to install.<br>mtl-2.2.1 failed during the building phase. The exception was:<br>ExitFailure 1<br>network-2.6.0.2 failed during the building phase. The exception was:<br>ExitFailure 1<br>parsec-3.1.7 depends on text-1.2.0.3 which failed to install.<br>text-1.2.0.3 failed during the building phase. The exception was:<br>ExitFailure 1<br>zlib-0.5.4.2 failed during the building phase. The exception was:<br>ExitFailure 1<br>```<br><br></div>Does anyone know a quick-fix?<br><br>Thanks!<br></div>
______________________________<u></u>_________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>