[Hackage] #168: Behaviour of cabal-install with respect to upgradeable packages is unexpected

Hackage trac at galois.com
Thu Nov 1 07:52:56 EDT 2007


#168: Behaviour of cabal-install with respect to upgradeable packages is
unexpected
---------------------+------------------------------------------------------
  Reporter:  guest   |        Owner:       
      Type:  defect  |       Status:  new  
  Priority:  normal  |    Milestone:       
 Component:  Cabal   |      Version:  1.2.0
  Severity:  normal  |     Keywords:       
Difficulty:  normal  |   Ghcversion:  6.4.2
  Platform:  Linux   |  
---------------------+------------------------------------------------------
 When an old version of a package is already installed, running cabal-
 install to install it should install the latest available version of the
 package, rather than complaining that the package is already installed.
 (Or at least interactively provide the option to do so.)

 Having it simply abort without doing anything is strange because in the
 most common case a user tries to install a package because they need it
 and do not already have it. If the package is already installed, that
 probably means that they do not have a recent enough version of the
 package.

 It would also make cabal-install more apt-like, which is probably a good
 thing, considering the obvious inspiration.

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


More information about the cabal-devel mailing list