以 PDF 格式下載這本書 (9842 KB)
pkgrm(1M)Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Notes Name
Synopsis
pkgrm [-nv] [-a admin] [ [-A | -M] -R root_path]
[-V fs_file]
[pkginst... | -Y category[,category…]]
pkgrm -s spool
[pkginst... | -Y category[,category…]]
Descriptionpkgrm 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 permits keyboard interaction throughout the removal as long as this environment variable is set. Options
The following options are supported: Operands
The following operand is supported: ExamplesExample 1 Removing All Instances of SUNWjunk from client1The following example removes all instances of SUNWjunk from client1:
Note the caveat on the use of the -R option in the description of that option, above. Exit Status
The following exit values are returned: AttributesSee attributes(5) for descriptions of the following attributes:
See Alsopkginfo(1), pkgmk(1), pkgparam(1), pkgproto(1), pkgtrans(1), installf ### UNMATCHED MARKUP: manvolnum ### , pkgadd ### UNMATCHED MARKUP: manvolnum ### , pkgask ### UNMATCHED MARKUP: manvolnum ### , pkgchk ### UNMATCHED MARKUP: manvolnum ### , removef ### UNMATCHED MARKUP: manvolnum ### , admin(4), pkginfo(4), attributes(5), largefile(5) NotesPackage commands are largefile(5)-aware. They handle files larger than 2 GB in the same way they handle smaller files. In their current implementations, pkgadd ### UNMATCHED MARKUP: manvolnum ### , pkgtrans(1) and other package commands can process a datastream of up to 4 GB. Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Notes |
||||||