[Hackage] #301: Need a way to force a package to be re-installed

Hackage trac at galois.com
Thu Aug 14 19:44:52 EDT 2008

#301: Need a way to force a package to be re-installed
  Reporter:  guest               |        Owner:                 
      Type:  enhancement         |       Status:  closed         
  Priority:  normal              |    Milestone:                 
 Component:  cabal-install tool  |      Version:        
  Severity:  normal              |   Resolution:  fixed          
  Keywords:                      |   Difficulty:  easy (<4 hours)
Ghcversion:  6.8.3               |     Platform:                 
Changes (by duncan):

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


 Thu Aug 14 19:34:45 BST 2008  Duncan Coutts <duncan at haskell.org>
   * Add cabal install --reinstall flag
   to force reinstall of package where we have the exact same
   version already installed. Ordinarily we would say that
   there is nothing to do as the exact same package version
   is already installed. There are some cases where you might
   want to do this, eg to rebuild with different compiler
   options, or adding/removing components (since we do not
   track those indifidually yet, eg docs, profiling libs).

 Also, the message when something is already installed and thus will not be
 re-installed is improved:

 $ cabal install something
 Resolving dependencies...
 No packages to be installed. All the requested packages
 are already installed. If you want to reinstall anyway
 then use the --reinstall flag.

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

More information about the cabal-devel mailing list