remove a package or set from the system
pkgrm [-n] [-a admin] [pkginst1 [pkginst2[. . .]]]
pkgrm -s spool [pkginst]
will remove a previously installed or partially installed package/set from the
A package is a collection of related files and executables that can be
A set is made up of a special-purpose package,
referred to as a Set Installation Package (SIP),
and a collection of one or more packages that are members of the set.
pkgrm checks that all packages listed on the command line are on
If any of the packages listed does not exist, no changes
are made to the system, that is, none of the listed packages are
A check is also made to determine if any other packages depend on the one
The action taken if a dependency exists is defined in the
(see the -a option, below).
The default state for the command is interactive mode, meaning that
prompt messages are given during processing to allow the
administrator to confirm the actions being taken.
Non-interactive mode can be
requested with the -n option.
The -s option can be used to specify the directory
from which spooled packages should be removed.
The options and arguments for this command are:
If there is a need for interaction, the command will exit.
Use of this option requires that at least
one package instance be named upon invocation
of the command.
Defines an installation administration file, admin,
to be used in place of the default administration file.
[For a description of the format
of an admin file, see
The token none
overrides the use of any admin file,
and thus forces interaction with the user.
Unless a full pathname is given, pkgrm looks in
the /var/sadm/install/admin directory for the file.
By default, the file default in that directory is used.
Removes the specified package(s) from the directory spool.
A short string used to designate an abbreviation for the package/set name.
(The term ``package instance'' is used loosely: it
refers to all instantiations of pkginst,
even those that do not include instance identifiers.)
If pkginst specifies a SIP,
all installed packages which are members of the set,
and the SIP itself, are removed in reverse dependency order.
To indicate all instances of a package, specify
enclosing the command line in single quotes, as shown,
to prevent the shell from interpreting the * character.
Use the token all
to refer to all packages available on the source medium.
language-specific message file [See LANG on
Successful completion of script.
Fatal error. Installation process is terminated at this point.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004