pkgrm(1M)
NAME
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.
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.
−s spool Remove the specified package(s) from the directory spool.
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)
SunOS 5.1 — Last change: 14 Sep 1992