1pkgask(1M)              System Administration Commands              pkgask(1M)
2
3
4

NAME

6       pkgask - stores answers to a request script
7

SYNOPSIS

9       pkgask [-d device] [-R root_path] -r response pkginst...
10
11

DESCRIPTION

13       pkgask  allows  the  administrator  to  store answers to an interactive
14       package (one with a request script, that is, a user-created  file  that
15       must be named request). Invoking this command generates a response file
16       that is then used as input  at  installation  time.  The  use  of  this
17       response  file prevents any interaction from occurring during installa‐
18       tion since the file already contains all of the information the package
19       needs.
20

OPTIONS

22       The following options are supported
23
24       -d device       Run  the request script for a package on device. device
25                       can be a directory  pathname  or  the  identifiers  for
26                       tape,  floppy  disk  or  removable  disk  (for example,
27                       /var/tmp,  /dev/diskette,  and  /dev/dsk/c1d0s0).   The
28                       default device is the installation spool directory.
29
30
31       -R root_path    Define  the full path name of a directory to use as the
32                       root_path. All files, including package system informa‐
33                       tion  files, are relocated to a directory tree starting
34                       in the specified root_path.
35
36                       Note -
37
38                         The root file system of any non-global zones must not
39                         be referenced with the -R option. Doing so might dam‐
40                         age the global zone's file system,  might  compromise
41                         the security of the global zone, and might damage the
42                         non-global zone's file system. See zones(5).
43
44
45       -r response     Identify a file or directory which should be created to
46                       contain  the responses to interaction with the package.
47                       The name must be a full pathname. The file,  or  direc‐
48                       tory  of  files,  can  later  be  used  as input to the
49                       pkgadd(1M) command.
50
51

OPERANDS

53       The following operands are supported:
54
55       pkginst    Specify the package instance, or list of instances for which
56                  request  scripts  will be created. The token all may be used
57                  to refer to all packages available on the source medium.
58
59

EXIT STATUS

61       0     Successful completion.
62
63
64       >0    An error occurred.
65
66

ATTRIBUTES

68       See attributes(5) for descriptions of the following attributes:
69
70
71
72
73       ┌─────────────────────────────┬─────────────────────────────┐
74       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
75       ├─────────────────────────────┼─────────────────────────────┤
76       │Availability                 │SUNWcsu                      │
77       └─────────────────────────────┴─────────────────────────────┘
78

SEE ALSO

80       pkginfo(1),   pkgmk(1),    pkgparam(1),    pkgproto(1),    pkgtrans(1),
81       installf(1M),    pkgadd(1M),    pkgchk(1M),   pkgrm(1M),   removef(1M),
82       admin(4),attributes(5)
83
84
85
86

NOTES

88       The -r option can be used to indicate a directory name  as  well  as  a
89       filename. The directory name is used to create numerous response files,
90       each sharing the name of the package with which it  should  be  associ‐
91       ated. This would be used, for example, when you will be adding multiple
92       interactive packages with one invocation of  pkgadd(1M).  Each  package
93       would  need a response file. To create multiple response files with the
94       same name as the package instance, name  the  directory  in  which  the
95       files  should  be  created  and supply multiple instance names with the
96       pkgask command. When installing the packages, you will be able to iden‐
97       tify this directory to the pkgadd(1M) command.
98
99
100       If  the  default admin file is too restrictive, the administration file
101       may need to be modified to allow for  total  non-interaction  during  a
102       package installation. Seeadmin(4) for details.
103
104
105
106SunOS 5.11                        6 Apr 2005                        pkgask(1M)
Impressum