
New to haskell and having issues resolving packages, have the following output below and can't seem to resolve it. Text seems to have diff hash dependancies when I try and instal a diff version of 0.11.2.0 etc Any ideas on what todo ?? Thanks $ ghc-pkg check There are problems in package scion-browser-0.2.8: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package persistent-template-0.9.0.1: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package persistent-sqlite-0.9.0.1: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package persistent-0.9.0.3: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package aeson-0.6.0.2: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package path-pieces-0.1.1: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package hashable-1.1.2.3: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package conduit-0.4.1.1: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package blaze-html-0.4.3.4: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package blaze-builder-0.3.1.0: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package attoparsec-0.10.1.1: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist There are problems in package buildwrapper-0.5.2: dependency "aeson-0.6.0.2-f5264d3642c44cd43d87b542486e49c9" doesn't exist dependency "attoparsec-0.10.1.1-d3ad0453e3127b6c51ccb14a5cb6f38d" doesn't exist dependency "unordered-containers-0.2.1.0-9b5d4d7fe2d79561a684ee5184ea5fd0" doesn't exist There are problems in package hoogle-4.2.11: dependency "blaze-builder-0.3.1.0-adf48413bb3bfeef99ef5e18de097dbd" doesn't exist dependency "conduit-0.4.1.1-6c1a48d4c94e05132c53b85e7ca48cd9" doesn't exist dependency "parsec-3.1.1-d3c0b4413115a5e82a1a5cf9b0b35fee" doesn't exist There are problems in package warp-1.2.0.1: dependency "blaze-builder-0.3.1.0-adf48413bb3bfeef99ef5e18de097dbd" doesn't exist dependency "conduit-0.4.1.1-6c1a48d4c94e05132c53b85e7ca48cd9" doesn't exist There are problems in package wai-1.2.0.1: dependency "blaze-builder-0.3.1.0-adf48413bb3bfeef99ef5e18de097dbd" doesn't exist dependency "conduit-0.4.1.1-6c1a48d4c94e05132c53b85e7ca48cd9" doesn't exist There are problems in package network-conduit-0.4.0: dependency "conduit-0.4.1.1-6c1a48d4c94e05132c53b85e7ca48cd9" doesn't exist There are problems in package blaze-builder-conduit-0.4.0.1: dependency "blaze-builder-0.3.1.0-adf48413bb3bfeef99ef5e18de097dbd" doesn't exist dependency "conduit-0.4.1.1-6c1a48d4c94e05132c53b85e7ca48cd9" doesn't exist There are problems in package network-2.3.0.5: dependency "parsec-3.1.1-d3c0b4413115a5e82a1a5cf9b0b35fee" doesn't exist There are problems in package http-types-0.6.10: dependency "blaze-builder-0.3.1.0-adf48413bb3bfeef99ef5e18de097dbd" doesn't exist There are problems in package case-insensitive-0.4.0.1: dependency "hashable-1.1.2.3-037c817e51d5d10d89306e9472e2e0bd" doesn't exist There are problems in package test-framework-th-0.2.2: dependency "test-framework-0.6-7d2482720de09487769f301ebc001970" doesn't exist There are problems in package test-framework-quickcheck2-0.2.12.1: dependency "test-framework-0.6-7d2482720de09487769f301ebc001970" doesn't exist There are problems in package test-framework-quickcheck-0.2.8: dependency "test-framework-0.6-7d2482720de09487769f301ebc001970" doesn't exist There are problems in package test-framework-hunit-0.2.7: dependency "test-framework-0.6-7d2482720de09487769f301ebc001970" doesn't exist The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. scion-browser-0.2.8 persistent-template-0.9.0.1 persistent-sqlite-0.9.0.1 persistent-0.9.0.3 aeson-0.6.0.2 path-pieces-0.1.1 hashable-1.1.2.3 conduit-0.4.1.1 blaze-html-0.4.3.4 blaze-builder-0.3.1.0 attoparsec-0.10.1.1 buildwrapper-0.5.2 hoogle-4.2.11 warp-1.2.0.1 wai-1.2.0.1 network-conduit-0.4.0 blaze-builder-conduit-0.4.0.1 network-2.3.0.5 http-types-0.6.10 case-insensitive-0.4.0.1 test-framework-th-0.2.2 test-framework-quickcheck2-0.2.12.1 test-framework-quickcheck-0.2.8 test-framework-hunit-0.2.7 unordered-containers-0.2.1.0 pool-conduit-0.1.0.1 resource-pool-0.2.1.0 simple-sendfile-0.2.3 cgi-3001.1.7.4 haskell-platform-2011.4.0.0 HTTP-4000.1.2

On 12-05-05 04:19 PM, Graham Berks wrote:
New to haskell and having issues resolving packages, have the following output below and can't seem to resolve it.
Text seems to have diff hash dependancies when I try and instal a diff version of 0.11.2.0 etc
Any ideas on what todo ??
Thanks
$ ghc-pkg check There are problems in package scion-browser-0.2.8: dependency "text-0.11.2.0-2b6cea8526e93af24bb0154400fd64a6" doesn't exist [etc]
See my http://www.vex.net/~trebla/haskell/sicp.xhtml for the significance of the hash value and more ways to break things. My article mostly doesn't say how to fix things (partly because there are many factors: problem details, self-inflicted constraints aka personal preferences). But knowing how GHC packages work may help you devise your tailored solution. Well, I suppose there is always the sledgehammer of erasing everything: erase $HOME/.ghc, erase GHC. (Again, see my article for why erasing $HOME/.cabal solves absolutely no problem.)
participants (2)
-
Albert Y. C. Lai
-
Graham Berks