
#442: remove old packages after successful update ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: ---------------------------------+------------------------------------------ Comment (by duncan): Currently we never uninstall packages. See #234. Perhaps the best user interface would be some sort of clean / collect command to uninstall old versions of packages that are no longer needed (like nix). This would involve tracking the packages that the user deliberately installed, see #199. It's a bit tricky since we do not know all libs that are wanted by the user, in particular it's difficult to figure out if the user wants multiple versions of a package installed (unless multiple versions are required by other things they do want installed). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/442#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects