[Haskell-cafe] trying to cabal install lambdabot, failure on 'random' package
daniel.is.fischer at googlemail.com
Sun May 8 15:14:06 CEST 2011
On Sunday 08 May 2011 09:24:50, Sean Perry wrote:
> package random-220.127.116.11 requires time-18.104.22.168
> package random-22.214.171.124 requires time-126.96.36.199
> Preprocessing library show-0.4.1.1...
> Building show-0.4.1.1...
> <command line>: cannot satisfy -package-id
> random-188.8.131.52-749b78c54a8a99991b32dbb45d98a91b is shadowed by package
You have two versions(?) of random-184.108.40.206, one in the global package-db,
one in the user-db. The one in the user-db shadows the global, making it
unusable. That's BAD. Having boot packages (random, process, directory,
time, ...) in both, global and user db, tends to break stuff, check what's
broken already with
$ ghc-pkg check
If too much is broken, delete your user-db and reinstall fresh, otherwise
try unregistering the ones in the user-db shadowing stuff in the global db,
in particular random-220.127.116.11,
$ ghc-pkg unregister --user random-18.104.22.168
It will probably notify you that unregistering that will break a couple of
other packages, the best would probably be to unregister those too and
rebuild them against the global random.
More information about the Haskell-Cafe