[Hackage] #826: "dependency conflict"

Hackage cvs-ghc at haskell.org
Sun Apr 24 16:42:17 CEST 2011


#826: "dependency conflict"
---------------------------------+------------------------------------------
  Reporter:  nue_057             |        Owner:         
      Type:  defect              |       Status:  closed 
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.8.0.6
  Severity:  normal              |   Resolution:  invalid
  Keywords:                      |   Difficulty:  unknown
Ghcversion:  6.12.3              |     Platform:  Windows
---------------------------------+------------------------------------------

Comment(by simonmic):

 I use this bash function:

 # unregister broken GHC packages. Run this a few times to resolve
 dependency rot in installed packages.
 function ghc-pkg-clean() {
     for p in `ghc-pkg check 2>&1  | grep problems | awk '{print $6}' | sed
 -e 's/:$//'`
     do
         echo unregistering $p; ghc-pkg unregister $p
     done
 }

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/826#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list