![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pkgadd help | mokkan | SUN Solaris | 1 | 04-08-2008 07:08 AM |
| pkgadd issues | Sowser | UNIX for Advanced & Expert Users | 3 | 09-04-2007 09:43 AM |
| pkgadd issues | GLJ@USC | UNIX for Dummies Questions & Answers | 3 | 07-03-2007 10:37 AM |
| pkgadd pkg to an new directory | fedora | SUN Solaris | 1 | 03-07-2007 09:56 AM |
| pkgadd | alsande | UNIX for Dummies Questions & Answers | 4 | 03-27-2004 12:25 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
pkgadd
is there an option in pkgadd to accept the default option?
I want to use pkgadd in a script and do not want to stop at intercative questions. thx. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
You might want to create a response file for the package by using pkgask. Afterswards you should be able to install packages with pkgadd non-interative.
cheers Darwin |
|
#3
|
|||
|
|||
|
actually I was able to use -a in pkgadd.
however, the operation hangs on this step: Do you want this directory created now [y,n,?,q] any idea how to give the 'y' value? thx |
|
#4
|
||||
|
||||
|
as darwin mentioned before you have to use "pkgask"....
hth |
|
#5
|
|||
|
|||
|
I tried to use it before:
pkgask -r response -d lsof-4.77-sol10-x86-local pkgask: ERROR: package does not contain an interactive request script |
|
#6
|
||||
|
||||
|
It may be that you need to create an admin file rather than a response file.
|
|
#7
|
|||
|
|||
|
this is what I did: create an admin file and use pkgadd. I am only prompted on:
Do you want this directory created now [y,n,?,q] is there an option to specify the default value (y) in either pkgadd or the admin file? thx |
|||
| Google The UNIX and Linux Forums |