haskell-src-exts fails to install with missing dependencies

fourier:/home/dom1 # cabal upgrade haskell-src-exts
Resolving dependencies... Downloading haskell-src-exts-1.9.0... <command line>: cannot satisfy -package Cabal-1.8.0.2: Cabal-1.8.0.2-72f6eafc7def741b28f6ec75d2686d14 is unusable due to missingor recursive dependencies: process-1.0.1.2-8b5308cb23fbdc3c2df27e298550937f (use -v for more information) cabal: Error: some packages failed to install: haskell-src-exts-1.9.0 failed during the configure step. The exception was: ExitFailure 1
Hopefully this is the right list to report these things. Did I do something wrong? Or is this a bug? Let me know if you need any more information.

Dominic Steintiz wrote:
fourier:/home/dom1 # cabal upgrade haskell-src-exts
Resolving dependencies... Downloading haskell-src-exts-1.9.0... <command line>: cannot satisfy -package Cabal-1.8.0.2: Cabal-1.8.0.2-72f6eafc7def741b28f6ec75d2686d14 is unusable due to missingor recursive dependencies: process-1.0.1.2-8b5308cb23fbdc3c2df27e298550937f (use -v for more information) cabal: Error: some packages failed to install: haskell-src-exts-1.9.0 failed during the configure step. The exception was: ExitFailure 1
Hopefully this is the right list to report these things. Did I do something wrong? Or is this a bug? Let me know if you need any more information.
Hmm I seem to be in dependency hell:
dom1@fourier:~> ghci -package statistics GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help <command line>: cannot satisfy -package statistics: statistics-0.5.1.0-586cd7ab05f139c66aa46d2ef0f915cf is unusable due to missing or recursive dependencies: mwc-random-0.5.0.0-c001f1cc8482a2ff9cc0eb00aa39dd39 vector-0.6.0.1-7092ca151761c7334cafae514bd797db vector-algorithms-0.3.2-31f3109ce7eec63ed1b64c120faaa91d (use -v for more information) Lol:
fourier:/home/dom1 # cabal upgrade statistics --global Resolving dependencies... cabal: cannot configure vector-0.6.0.1. It requires ghc >=6.9 There is no available version of ghc that satisfies >=6.9 fourier:/home/dom1 # ghc --version The Glorious Glasgow Haskell Compilation System, version 6.12.1

On Sun, 2010-05-30 at 08:05 +0100, Dominic Steintiz wrote:
fourier:/home/dom1 # cabal upgrade haskell-src-exts
Resolving dependencies... Downloading haskell-src-exts-1.9.0... <command line>: cannot satisfy -package Cabal-1.8.0.2: Cabal-1.8.0.2-72f6eafc7def741b28f6ec75d2686d14 is unusable due to missingor recursive dependencies: process-1.0.1.2-8b5308cb23fbdc3c2df27e298550937f (use -v for more information) cabal: Error: some packages failed to install: haskell-src-exts-1.9.0 failed during the configure step. The exception was: ExitFailure 1
Use ghc-pkg check to list broken packages. Unregister broken packages and re-install the ones you need. You may find you've got instances of core packages in your per-user package db (e.g. process). Nuke those. Keep the global ones. Oh, and don't use "cabal upgrade", it makes this sort of problem worse by upgrading core packages. Use "cabal install" instead. I'm going to nuke "cabal upgrade foo" and replace it with "cabal install foo --upgrade-dependencies", which I think people will not use without understanding what it means. Duncan

Duncan Coutts wrote:
On Sun, 2010-05-30 at 08:05 +0100, Dominic Steintiz wrote:
fourier:/home/dom1 # cabal upgrade haskell-src-exts
Resolving dependencies... Downloading haskell-src-exts-1.9.0... <command line>: cannot satisfy -package Cabal-1.8.0.2: Cabal-1.8.0.2-72f6eafc7def741b28f6ec75d2686d14 is unusable due to missingor recursive dependencies: process-1.0.1.2-8b5308cb23fbdc3c2df27e298550937f (use -v for more information) cabal: Error: some packages failed to install: haskell-src-exts-1.9.0 failed during the configure step. The exception was: ExitFailure 1
Use ghc-pkg check to list broken packages. Unregister broken packages and re-install the ones you need.
You may find you've got instances of core packages in your per-user package db (e.g. process). Nuke those. Keep the global ones.
Oh, and don't use "cabal upgrade", it makes this sort of problem worse by upgrading core packages. Use "cabal install" instead.
I'm going to nuke "cabal upgrade foo" and replace it with "cabal install foo --upgrade-dependencies", which I think people will not use without understanding what it means.
Duncan
Hi Duncan, Thanks for looking at this. I just posted the cure to haskell-cafe. I must say the experience was pretty frustrating. Dominic.
participants (2)
-
Dominic Steintiz
-
Duncan Coutts