pkgrm(1M)

pkgrm - removes a package from the system

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.5.

NAME
     pkgrm - removes a package from the system

SYNOPSIS
     pkgrm [-n] [-a admin] [pkginst1 [pkginst2[ . . . ]]]

     pkgrm -s spool [pkginst]

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.  The action taken if a dependency exists
     is defined in the admin file.

     The default state for the command is 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.

     The options and arguments for this command are:

     -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.

     -a admin     Defines an installation administration file, admin, to be
                  used in place of the default admin file.

     -s spool     Removes 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.  When
                  using this format, enclose the command line in single quotes
                  to prevent the shell from interpreting the * character.

NOTES
     Creating the file /var/inst/.nopkg will cause pkgrm to ignore the
     inst(1M) database.

FILES
     /var/inst/.nopkg

SEE ALSO
     inst(1M), installf(1M), pkgadd(1M), pkgask(1M), pkgchk(1), pkginfo(1),
     pkgmk(1), pkgparam(1), pkgproto(1), pkgtrans(1).