Installing, managing, and removing software

Removing a package or set with an alternative admin file

The parameters set in the admin file that affect package or set removal are runlevel (which gives instructions for what to do when the run level is not met) and rdepend (which defines whether or not to check for other packages with dependencies on this package). Create and specify an alternative admin file to assign different values to these two parameters.

To remove a package or set that has an alternative admin file, enter:

pkgrm -a admin_file_name pkgname

Unless you specify a full pathname after the -a option, pkgrm(1M) looks for the admin file in the /var/sadm/install/admin directory.

For example, to remove a package or set named mypkg that uses an admin file named myadmin, execute the following:

pkgrm -a myadmin mypkg

To remove an individual package, specify the check admin file with the -a option:

pkgrm -a check pkginst

To remove a set, use the default admin file:

pkgrm sipname

sipname is the name of the set you want to remove, and the admin file default is used by default.

NOTE: If a SIP is specified, all packages that are members of the set, and the SIP itself, are removed in reverse order from the order in which they were installed.

See also:

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004