[Hackage] #597: non-exhaustive patterns when trying to install base

Hackage cvs-ghc at haskell.org
Mon Apr 9 16:44:50 CEST 2012


#597: non-exhaustive patterns when trying to install base
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:                    
      Type:  defect              |       Status:  new               
  Priority:  normal              |    Milestone:  cabal-install-0.16
 Component:  cabal-install tool  |      Version:  1.6.0.2           
  Severity:  minor               |     Keywords:                    
Difficulty:  easy (<4 hours)     |   Ghcversion:  6.10.1            
  Platform:                      |  
---------------------------------+------------------------------------------
Changes (by kosmikus):

  * milestone:  cabal-install-0.14 => cabal-install-0.16


Comment:

 This is still present with the topdown solver, but the modular solver
 handles it ok:
 {{{
 $ cabal install base-4.5.0.0
 Resolving dependencies...
 cabal: Could not resolve dependencies:
 next goal: base (user goal)
 rejecting: base-3.0.3.2, 3.0.3.1 (global constraint requires ==4.5.0.0)
 rejecting: base-4.5.0.0 (only already installed instances can be used)
 rejecting: base-4.4.1.0, 4.4.0.0, 4.3.1.0/installed-20f..., 4.3.1.0,
 4.3.0.0,
 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0 (global constraint requires
 ==4.5.0.0)
 }}}

 There's still an issue here to figure out a sensible way to specify non-
 upgradeable packages per compiler.

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



More information about the cabal-devel mailing list