[Hackage] #582: cabal-install not installing packages listed as upgradable

#582: cabal-install not installing packages listed as upgradable ---------------------------------+------------------------------------------ Reporter: Raevel | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ My terminal session probably describes the problem best: {{{ $ cabal update Downloading the latest package list from hackage.haskell.org $ cabal upgrade *snip* Below is the list of packages that it would have tried to upgrade. You can use the 'install' command to install the ones you want. Note that it is generally not recommended to upgrade core packages. *snip* parsec $ cabal install parsec 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. }}} This also applies to other packages. The problem seems to be because i have parsec 2.x installed, and 3.x is available, `cabal install parsec==3.0.1` removes the parsec line from cabal upgrade. I expect one of the following behaviors: * cabal upgrade should tell me that install won't suffice since it's a major update, and that 3.0.1 is available. * cabal install should install 3.0.1 for me. * cabal upgrade should not list the package at all. I'm not sure which one is the best. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/582 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage