The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-04-2006
Registered User
 

Join Date: Nov 2006
Posts: 185
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.
Reply With Quote
Forum Sponsor
  #2  
Old 12-04-2006
Registered User
 

Join Date: Dec 2006
Posts: 23
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
Reply With Quote
  #3  
Old 01-08-2007
Registered User
 

Join Date: Nov 2006
Posts: 185
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
Reply With Quote
  #4  
Old 01-08-2007
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,464
as darwin mentioned before you have to use "pkgask"....

hth
Reply With Quote
  #5  
Old 01-08-2007
Registered User
 

Join Date: Nov 2006
Posts: 185
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
Reply With Quote
  #6  
Old 01-08-2007
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,590
It may be that you need to create an admin file rather than a response file.
Reply With Quote
  #7  
Old 01-09-2007
Registered User
 

Join Date: Nov 2006
Posts: 185
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0