gpt-uninstall(8)

gpt-uninstall8

Uninstall any gpt package.

Usage

gpt-uninstall [--force --help -name] pkgname-flavor-pkgtype

Overview

gpt-uninstall will uninstall a package from the system.

Options

-force

This will force actions to take place.

-native

Use native package manager (Only works with rpm).

pkgname-flavor-pkgtype

Expression describing the packages that should be removed.

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

-version

Prints the version of GPT and exits.

Examples

  gpt-uninstall -name=foo

removes all flavors and package types with the name "foo".

 gpt-uninstall foo

Also removes all flavors and package types with the name "foo".

  gpt-uninstall 'foo-*-*'

A third way of typing the same uninstall. Note the single quotes.

  gpt-uninstall '*-noflavor-*'

Remove all of the packages with a 'noflavor' build flavor.

  gpt-uninstall '*-*-*'

Remove all packages. Note that files generated by gpt-postinstall will not be removed

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Bugs

Currently the flavor check that gpt-uninstall uses only works if the flavor is installed by gpt-build. And so for example:

 gpt-uninstall foo-gcc32-*

will not work. The work around is to uninstall the packages individually using something like:

 gpt-uninstall -name=foo -flavor=gcc32 -pkgtype=pgm

Or use a wild card for the flavor to uninstall all flavors of the package.

 gpt-uninstall foo-*-*

Author

Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>

From grid-packaging-tools 3.6.2-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.