[Hackage] #623: when a package is already installed, print the version as well

Hackage cvs-ghc at haskell.org
Sat Apr 7 11:34:22 CEST 2012


#623: when a package is already installed, print the version as well
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:                     
      Type:  enhancement         |       Status:  closed             
  Priority:  normal              |    Milestone:  cabal-install-0.14 
 Component:  cabal-install tool  |      Version:  1.6.0.1            
  Severity:  normal              |   Resolution:  fixed              
  Keywords:                      |   Difficulty:  very easy (<1 hour)
Ghcversion:                      |     Platform:                     
---------------------------------+------------------------------------------
Changes (by kosmikus):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 The message is:
 {{{
 $ cabal install multirec
 Resolving dependencies...
 All the requested packages are already installed:
 multirec-0.7.1
 Use --reinstall if you want to reinstall anyway.
 }}}

 The patch is:
 {{{
 Sat Apr  7 11:28:29 CEST 2012  Andres Loeh <andres at well-typed.com>
   * for empty install plans, print the packages that are installed

   This is a fix for #623.

   If we ask to install a package without --reinstall that's already
   there, then we'll show the package and its version in the warning
   message and suggest the use of the --reinstall flag.
 }}}

 Hopefully done, closing.

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



More information about the cabal-devel mailing list