Manual page for pkgrm(1M)
pkgrm - removes a package from the system
SYNOPSIS
pkgrm
[
-n
] [
-R root_dir
] [
-a admin
]
[
pkginst1
[
pkginst2
]...]
pkgrm -s spool
[
pkginst
]
AVAILABILITY
SUNWcsu
DESCRIPTION
pkgrm
will remove a previously installed or partially installed package from the
system.
A check is made to determine if any other packages depend on the one
being removed.
If a dependency exists, the action taken is defined in the
admin file.
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
pkgrm .
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:
-
NONABI_SCRIPTS=TRUE
pkgrm
will permit keyboard interaction throughout the removal as long
as this environment variable is set.
OPTIONS
- -n
-
Non-interactive mode.
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.
- -R
-
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.
pkgrm
first looks in the current working directory
for the administration file.
If the specified administration file is not in the
current working directory,
pkgrm
looks in the
/var/sadm/install/admin
directory for the administration file.
- -s spool
-
Remove the specified package(s) from the directory
spool.
The default directory for spooled packages is
/var/sadm/spool/okg.
- pkginst
-
Specifies the package to be removed.
The format pkginst.*
can be used to remove all instances of a package.
SEE ALSO
pkginfo.1
pkgmk.1
pkgparam.1
pkgproto.1
pkgtrans.1
installf.1m
pkgadd.1m
pkgask.1m
pkgchk.1m
removef.1m
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97