[Haskell-cafe] Cabal message problem.

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Dec 16 08:48:05 CET 2010


On 16 December 2010 18:30, Magicloud Magiclouds
<magicloud.magiclouds at gmail.com> wrote:
> On Thu, Dec 16, 2010 at 2:59 PM, Ivan Lazar Miljenovic
> For example, now I have message as this when installing darcs.
> <command line>: cannot satisfy -package Cabal-1.10.0.0:
>    Cabal-1.10.0.0-9ac678c7f1e4f8dd31bac0e19f600698 is unusable due to
> missing or recursive dependencies:
>      process-1.0.1.4-24e3819e5c17aaf49bfec6a0ab739420
>    (use -v for more information)
> The only way I know to get rid of this is to install Cabal-1.10.0.0
> again. Then you could see that, it exists both global and user.
> $ ghc-pkg list
> /usr/local/lib/ghc-7.0.1/package.conf.d
>   Cabal-1.10.0.0
>   array-0.3.0.2
>   base-4.3.0.0
>   bin-package-db-0.0.0.0
>   bytestring-0.9.1.8
>   containers-0.4.0.0
>   directory-1.1.0.0
>   extensible-exceptions-0.1.1.2
>   ffi-1.0
>   filepath-1.2.0.0
>   ghc-7.0.1
>   ghc-binary-0.5.0.2
>   ghc-prim-0.2.0.0
>   haskell2010-1.0.0.0
>   haskell98-1.1.0.0
>   hpc-0.5.0.6
>   integer-gmp-0.2.0.2
>   old-locale-1.0.0.2
>   old-time-1.0.0.6
>   pretty-1.0.1.2
>   process-1.0.1.4
>   random-1.0.0.3
>   rts-1.0
>   template-haskell-2.5.0.0
>   time-1.2.0.3
>   unix-2.4.1.0
> /home/magicloud/.ghc/i386-linux-7.0.1/package.conf.d
>   Cabal-1.10.0.0
>   HTTP-4000.0.10
>   binary-0.5.0.2
>   containers-0.3.0.0
>   dataenc-0.13.0.4
>   deepseq-1.1.0.2
>   directory-1.0.1.2
>   filepath-1.1.0.4
>   html-1.0.1.2
>   mmap-0.5.7
>   mtl-1.1.1.1
>   network-2.2.1.10
>   parsec-2.1.0.1
>   process-1.0.1.4
>   regex-base-0.93.2
>   regex-compat-0.93.1
>   regex-posix-0.94.4
>   tar-0.3.1.0
>   terminfo-0.3.1.3
>   text-0.11.0.1
>   utf8-string-0.3.6
>   zlib-0.5.2.0

You seem to have process installed twice... any reason for that?
Possibly something has gone wrong with your user setup; try backing up
your ~/.ghc, deleting it and try again.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list