Manual page for pkgrm(1M)
pkgrm - removes a package from the system
pkgrm -s spool
will remove a previously installed or partially installed package from the
A check is made to determine if any other packages depend on the one
If a dependency exists, the action taken is defined in the
The default state for the command is in 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.
Certain unbundled and third-party packages are no longer entirely
compatible with the latest version of
These packages require user interaction throughout the removal
and not just at the very beginning.
To remove these older packages (released prior to Solaris 2.4), set
the following environment variable:
will permit keyboard interaction throughout the removal as long
as this environment variable is set.
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 the full path name of a subdirectory to use as the root_path. All
files, including package system information files, are relocated to a
directory tree starting in the specified root_path.
- -a admin
Use the installation administration file, admin, in
place of the default admin file.
first looks in the current working directory
for the administration file.
If the specified administration file is not in the
current working directory,
looks in the
directory for the administration file.
- -s spool
Remove the specified package(s) from the directory
The default directory for spooled packages is
Specifies the package to be removed.
The format pkginst.*
can be used to remove all instances of a package.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97