Re: [Haskell-cafe] have anyone tried GHC 7.0.2

2011-03-08 Thread qiqi
Thank you! I fixed the broken package, network-2.2.1.10 by manually removing it locally and recache the ghc's package cache by running ghc-pkg recache. Thanks though for the unregister option. Now ghc-pkg check doesn't return any broken packages. But Cabal seems still got problem. I got the same

Re: [Haskell-cafe] have anyone tried GHC 7.0.2

2011-03-08 Thread qiqi
The problem is solved! I found out that both global and local package db get directory-1.1.0.0 and process-1.0.1.5. I unregistered them and other caused broken packages in the local package db. Then I successfully installed back hmatrix, ghc-mod, happy and etc. It seems that xmobar will install

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread qiqi
Thank you, Daniel. The problem is solved! I found out that both global and local package db get directory-1.1.0.0 and process-1.0.1.5. I unregistered them and other caused broken packages in the local package db. Then I successfully installed back hmatrix, ghc-mod, happy and etc. It seems that

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread qiqi
I used cabal install xmobar --flags=all_extensions . Is it true that every package installed from hackage should not install any package, which already exists in the global with the same version number , in the local db? Daniel Fischer wrote: On Wednesday 09 March 2011 00:34:39, qiqi wrote

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread qiqi
Daniel Fischer wrote: On Wednesday 09 March 2011 02:51:35, qiqi wrote: I used cabal install xmobar --flags=all_extensions . Whoa: In order, the following would be installed: containers-0.3.0.0 (new version) filepath-1.1.0.4 (new version) directory-1.1.0.0 (reinstall) changes