[Haskell-cafe] cabal install...
Eric Velten de Melo
ericvmelo at gmail.com
Wed Nov 21 01:54:07 CET 2012
I have a dream of one day being able to install leksah without having
to downgrade ghc. Right now I can't even install cabal-dev with cabal.
It will break ghc if I do.
2012/11/20 Johan Tibell <johan.tibell at gmail.com>:
> On Tue, Nov 20, 2012 at 1:10 PM, Gregory Guthrie <guthrie at mum.edu> wrote:
>>
>> Hmm,
>>
>> Now when I tried to run Leksah, I get not only some broken packages (which
>> I can avoid for my current project), but:
>>
>>
>>
>> <command line>: cannot satisfy -package-id
>> base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917:
>>
>> base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917 is unusable due to
>> missing or recursive dependencies:
>>
>> integer-gmp-0.4.0.0-c15e185526893c3119f809251aac8c5b
>>
>> (use -v for more information)
>>
>>
>>
>> So I tried to install base, then re-install it, but both fail;
>>
>> Any hints?
>
>
> From this email and some of the previous emails it seems that your package
> DB is in a pretty bad state, most likely from using --force-reinstalls. When
> Cabal warns you that this will break stuff it actually means it. :) My
> suggestion is that you
>
> rm -rf ~/.ghc/x86_64-linux-7.6.1 # or equivalent on your system.
>
> Then reinstall all the packages you want by listing them all at once
>
> cabal install pkg1 pkg2 pk3
>
> By listing them all together cabal-install tries to come up with an install
> plan that is globally consistent for all of them.
>
> -- Johan
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list