Ticket #106 (closed enhancement: duplicate)

Opened 6 years ago

Last modified 5 years ago

Two new commands: list and uninstall

Reported by: guest Owned by:
Priority: normal Milestone:
Component: cabal-install tool Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.4.2 Platform: Linux

Description

Suggested by Claus Reinke:

    .. at the very least I would hope to see the following two
    additional commands:

    list            List all installed packages
    uninstall    Provide uninstall information

    the former ought to list known Haskell implementations and their
    package databases, the latter ought to output status information
    about the (current) package (has it been registered anywhere? if
    yes, point to the unregister command first. have files been copied
    anywhere? if yes, explain which directories can simply and safely
    be removed).

Change History

Changed 6 years ago by guest

  • priority changed from normal to high

Changed 6 years ago by duncan

Note that we can only do this for Haskell implementations that have any notion of installed / registered packages.

Changed 6 years ago by duncan

  • priority changed from high to normal
  • version changed from 1.1.6 to HEAD
  • component changed from Cabal to cabal-install

We should implement this in cabal-install. There is already a list command for cabal-install but it lists uninstalled packages. Probably it should list all packages, installed and otherwise with an indication of whether they are installed or not. There should perhaps also be a flag to ask to list just installed.

Changed 5 years ago by duncan

Uninstall is tricky because currently we do not keep any record of what files we install or where we install them.

Changed 5 years ago by duncan

  • status changed from new to closed
  • resolution set to duplicate

Split into two tickets of rather different difficulty #235 for the list feature and #234 for tracking installed files to allow for later uninstall.

Note: See TracTickets for help on using tickets.