[Hackage] #301: No way to reinstall current version of a package
#301: No way to reinstall current version of a package ----------------------------------+----------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Keywords: Difficulty: very easy (<1 hour) | Ghcversion: 6.8.3 Platform: | ----------------------------------+----------------------------------------- cabal-install currently offers no way of reinstalling a version of a package which is already installed. If one has been messing around with libraries behind Cabal's back, this might be useful, if for no other reason than to assuage one's worries regarding link errors. Ideally a flag `--force` or whatever could be given to `cabal upgrade` and `cabal install`, which would make bypass the check for whether the package exists. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/301> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#301: No way to reinstall current version of a package ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * difficulty: very easy (<1 hour) => easy (<4 hours) Comment: See also #297. The solution is very similar. Just hide the installed package from the dep resolver. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/301#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#301: Need a way to force a package to be re-installed ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * summary: No way to reinstall current version of a package => Need a way to force a package to be re-installed -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/301#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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: 1.4.0.1 Severity: normal | Resolution: fixed Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: {{{ Thu Aug 14 19:34:45 BST 2008 Duncan Coutts <duncan@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
participants (1)
-
Hackage