pkgask(1M) pkgask(1M)
NAME
pkgask - store answers to a request script
SYNOPSIS
/usr/sbin/pkgask [-d device] -r response pkginst1 [pkginst2 [...]]
DESCRIPTION
pkgask allows the administrator to store answers to an interactive
package (one with a request script). Invoking this command generates a
response file that is then used as input at installation time. The use
of this response file prevents any interaction from occurring during
installation since the file already contains all of the information
the package needs.
OPTIONS
-d Runs the request script for a package on device. device can
be a full path name to a directory or the identifier for
tape (for example /var/tmp). It can also be the device
alias. The default device is the installation spool direc-
tory.
-r Identifies a file or directory, which should be created to
contain the responses to interaction with the package. The
name must be a full pathname. The file, or directory of
files, can later be used as input to the pkgadd command.
pkginst Specifies the package instance or list of instances for
which request scripts will be created. The token all may be
used to refer to all packages available on the source
medium.
NOTES
The -r option can be used to indicate a directory name as well as a
filename. The directory name is used to create numerous response
files, each sharing the name of the package with which it should be
associated. This would be used, for example, when you will be adding
multiple interactive packages with one invocation of pkgadd. Each
package would need a response file. To create multiple response files
with the same name as the package instance, name the directory in
which the files should be created and supply multiple instance names
with the pkgask command. When installing the packages, you will be
able to identify this directory to the pkgadd command.
SEE ALSO
installf(1M), pkgadd(1M), pkgchk(1M), pkgmk(1M), pkginfo(1M),
pkgparam(1M), pkgproto(1M), pkgtrans(1M), pkgrm(1M), removef(1M).
Page 1 Reliant UNIX 5.44 Printed 11/98