Ticket #168 (closed enhancement: duplicate)
Behaviour of cabal-install with respect to upgradeable packages is unexpected
|Reported by:||guest||Owned by:|
|Cc:||Difficulty:||hard (< 1 day)|
Description (last modified by ijones) (diff)
Note: Consolidating this ticket and others to #198. Please watch that ticket for further developments.
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.