[Hackage] #442: remove old packages after successful update

Hackage trac at galois.com
Wed Jan 7 14:01:57 EST 2009

#442: remove old packages after successful update
  Reporter:  guest               |        Owner:         
      Type:  enhancement         |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:
  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

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

More information about the cabal-devel mailing list