Mac Management Group

 View Only

Using aex-helper to uninstall the SMP Agent for Unix, Linux and Mac 

Dec 03, 2015 01:22 PM

The aex-helper utility has an option to uninstall the SMP Agent for Unix, Linux and Mac (ULM). Examples of using this command follow. 

aex-helper uninstall all -s - shows solutions that are available for uninstallation. Does not uninstall anything. 

aex-helper uninstall all - uninstalls all solutions and the base agent.

aex-helper uninstall INVENTORY - Uninstalls only the specified solution. (See output of 'aex-helper list solutions' for solution names to use here.)

aex-helper uninstall CTAGENT -s - shows if anything is dependent on the specified solution.

aex-helper uninstall all -c - shows commands to uninstall each component and acts as if it is uninstalling. Resulted in odd behavior in that 'aex-helper list' did not show any solutions. 

aex-helper uninstall - shows the help information for this command.

The built-in help provides the following usage information: 

aex-helper uninstall

Usage:

aex-helper uninstall <Solution-Name> [options]

Uninstall a solution.

Options:

<Solution-Name>

    The solution that must be uninstalled. Special name 'all' instructs helper to uninstall all of the solutions.

--with-deps

--recursive

-r

    Uninstall the solutions that depend on the provided solution. If you do not specify this option and there are any such solutions, uninstalling the provided solution will fail. The flag is implied in case you want to uninstall all of solutions.

--show-only

-s

    Do not actually uninstall any solutions, but rather list those that will have to be uninstalled.

--show-commands

-c

    Display commands that will be executed in order to uninstall the provided solution and (if needed) its dependents.

Note: One alternate method to uninstall the SMP Agent for ULM is to run the command: sudo /opt/altiris/notification/nsagent/bin/aex-uninstall. 

Another method is to run the uninstall script within each components subdirectory, i.e., 'sudo /opt/altiris/notification/<component/.uninstall/<uninstall script>'. This method is not available on all platforms. 

Statistics
0 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.