Tag: root path

You need to use pkgrm command which 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.

pkgrm command syntax

Use the following command syntaxpkgrm packagename The following example removes SUNWgtar (GNU Tar):pkgrm SUNWgtar

The following example removes all instances of SUNWjunk:# pkgrm -R /export/root/client1 SUNWjunk*

Where,

-R root_path : Defines the full path name of a directory 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 .