Uninstallation Script Usage and Parameters - Teradata Tools and Utilities

Teradata Tools and Utilities for Oracle Solaris on AMD Opteron Systems Installation Guide

Product
Teradata Tools and Utilities
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-07-13
dita:mapPath
jfv1488824663247.ditamap
dita:ditavalPath
16.10_Solaris_Opteron_No_ie.ditaval.ditaval
dita:id
B035-3126
Product Category
Teradata Tools and Utilities

Usage

Command Description
uninstall_ttu.sh Executes the script to remove packages
uninstall_ttu.sh priorto xx.xx.xx.xx Removes all packages before a specific version number
uninstall_ttu.sh noremove Executes the script, but does not remove any packages
uninstall_ttu.sh nocheck Executes the script, but does not check against known Teradata Tools and Utilities packages

Parameters

priorto xx.xx.xx.xx
Removes packages prior to a specified version

For example, if the packages to be installed on a system are from Teradata Tools and Utilities version 16.10, and packages prior to this version (15.10, 15.00, 14.10, 14.00, 13.10, 13.00, or 12.00) need to be removed, enter priorto 16.10.00.00. The number parameter must contain all four version numbers, and can be specific enough to remove all packages before, for example, 16.10.00.01. Typically the last two sets of digits would just be 00.00.

noremove
Executes the script without removing packages

This parameter can be used to test the script without removing the packages.

The package remove commands that would have been used to remove each package are displayed. This may be useful to do a test package remove without actually removing the packages, to see in what order the packages would have been removed, or to capture the commands used to remove the packages for use in another script.

nocheck
Executes the script looking for packages with "Teradata" in the package name, but skipping the check against the known list of Teradata Tools and Utilities packages
This may be useful for packages the script does not know about or additional "Teradata" packages (not Teradata Tools and Utilities) that you may want to remove.
Use this parameter with care, particularly if run on a Teradata DBS node, as important Database packages could be removed.
debug
Outputs useful debugging input to a file in /tmp/remove-tcp-debug-processid.out

This may be useful for debugging purposes. It lists the known Teradata Tools and Utilities packages, the initial list of the packages selected, and the final ordered list, and could be helpful in determining why a package was not removed.