[Hackage] #474: cabal-install needlessly reinstalls an existing package

Hackage trac at galois.com
Fri Jan 23 14:18:03 EST 2009

#474: cabal-install needlessly reinstalls an existing package
  Reporter:  judah               |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:                      |  
 With ghc-6.10.1, Cabal- and cabal-install-0.6 (or HEAD):

 $ cabal install cabal-install --dry-run -v
 Reading available packages...
 Resolving dependencies...
 selecting Cabal- (installed or hackage)
 selecting process- (installed or hackage) and discarding
 process- and
 In order, the following would be installed:
 Cabal- (reinstall) changes: process- ->
 cabal-install-0.6.0 (new package)

 The `ghc` package depends on `Cabal-` and `process-`, so
 rebuilding `Cabal` to depend on `process-` causes `ghc` to have
 inconsistent dependencies.  In particular:

 $ cabal install cabal-install
 [succeeds, but reinstalls Cabal-]
 $ cabal install ghci-haskeline
 Resolving dependencies...
 cabal: dependencies conflict: ghc-6.10.1 requires process ==
 process- was excluded because ghc-6.10.1 requires process ==

 It seems like the right thing to do would be to use `process-` when
 building `cabal-install`.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/474>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list