[Hackage] #174: cabal-install tries to upgrade the base package

Hackage trac at galois.com
Mon Nov 12 07:06:50 EST 2007


#174: cabal-install tries to upgrade the base package
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  cabal-install  |      Version:  1.2.2.0
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.6            |     Platform:  Linux  
----------------------------+-----------------------------------------------
Comment (by guest):

 Replying to [ticket:174 duncan]:
 > When using ghc-6.6.x, with some packages, cabal-install tries to upgrade
 the base package to satisfy dependnecies. This is obviously impossible.
 The dependency resolution mechanism needs to be taught this fact.


 Here's what I tried:

 $ cabal install fastcgi
 Data/List.hs:18:1: lexical error at character 'i'

 $ cabal info fastcgi
   Requested:    fastcgi -any
     Using:      fastcgi-3000.0.0
     Depends:    base >=2.0, cgi >=3000.0.0
     Options:
     Location:
 http://hackage.haskell.org/packages/archive/fastcgi/3000.0.0/fastcgi-3000.0.0.tar.gz
     Local:      *Not downloaded

   Requested:    base >=2.0
     Installed:  base-2.1.1

   Requested:    cgi >=3000.0.0
     Using:      cgi-3001.1.5.1
     Depends:    base >=3, old-time -any, old-locale -any, containers -any,
 base >=2&&<3, network >=2.0, parsec >=2.0, mtl >=1.0, xhtml >=3000.0.0
     Options:
     Location:
 http://hackage.haskell.org/packages/archive/cgi/3001.1.5.1/cgi-3001.1.5.1.tar.gz
     Local:      *Not downloaded

   Requested:    base >=3
     Using:      base-3.0.0.0
     Depends:
     Options:
     Location:
 http://hackage.haskell.org/packages/archive/base/3.0.0.0/base-3.0.0.0.tar.gz
     Local:
 /home/abram/.cabal/packages/hackage.haskell.org/base/3.0.0.0/base-3.0.0.0.tar.gz

   Requested:    old-time -any
     Using:      old-time-1.0.0.0
     Depends:    base -any, old-locale -any
     Options:
     Location:   http://hackage.haskell.org/packages/archive/old-
 time/1.0.0.0/old-time-1.0.0.0.tar.gz
     Local:      *Not downloaded

   Requested:    base -any
     Installed:  base-2.1.1

   Requested:    old-locale -any
     Using:      old-locale-1.0.0.0
     Depends:    base -any
     Options:
     Location:   http://hackage.haskell.org/packages/archive/old-
 locale/1.0.0.0/old-locale-1.0.0.0.tar.gz
     Local:      *Not downloaded

   Requested:    containers -any
     Using:      containers-0.1.0.0
     Depends:    base -any, array -any
     Options:
     Location:
 http://hackage.haskell.org/packages/archive/containers/0.1.0.0/containers-0.1.0.0.tar.gz
     Local:      *Not downloaded

   Requested:    array -any
     Using:      array-0.1.0.0
     Depends:    base -any
     Options:
     Location:
 http://hackage.haskell.org/packages/archive/array/0.1.0.0/array-0.1.0.0.tar.gz
     Local:      *Not downloaded

   Requested:    base >=2&&<3
     Installed:  base-2.1.1

   Requested:    network >=2.0
     Installed:  network-2.1.0.0

   Requested:    parsec >=2.0
     Installed:  parsec-2.0

   Requested:    mtl >=1.0
     Installed:  mtl-1.1.0.0

   Requested:    xhtml >=3000.0.0
     Using:      xhtml-3000.0.2.1
     Depends:    base -any
     Options:
     Location:
 http://hackage.haskell.org/packages/archive/xhtml/3000.0.2.1/xhtml-3000.0.2.1.tar.gz
     Local:      *Not downloaded

 These packages would be installed:
 base-3.0.0.0, old-locale-1.0.0.0, old-time-1.0.0.0, array-0.1.0.0,
 containers-0.1.0.0, xhtml-3000.0.2.1, cgi-3001.1.5.1, fastcgi-3000.0.0

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


More information about the cabal-devel mailing list