Personal tools
     DOCUMENTATION

Conary:conary erase

From rPath Wiki

Jump to: navigation, search
Conary --> Conary Commands --> conary erase
conary erase
conary erase trovename[=version][<flavor>]
Example> conary erase example=2.0.1


Use conary erase to remove a specific trove from a Conary-based system.

# conary q zile
zile=2.2.8-1-1

# conary erase zile
Preparing changeset request...
Resolving dependencies...
Applying update job:
    Erase   zile(:data :doc :runtime)=2.2.8-1-1
Creating rollback...
Running tag prescripts...
Removing 1 of 14 (7%)...
...
Removing 14 of 14 (100%)...
Running tag post-scripts...
Committing database transaction...

# conary q zile
zile was not found

Most lines of output from conary erase are overwritten on a single line. The previous example shows the different messages that typically appear during an update on several consecutive lines. After this command has finished, the screen would typically look like this:

# conary erase zile
Applying update job:
    Erase   zile(:data :doc :runtime)=2.2.18-1-1

Generally, anything you can install with conary update can be uninstalled with conary erase using a similar set of options for specifying troves.