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 melanie_pfefer SUN Solaris 6 01-08-2007 11:45 PM
PKGADD error Bags UNIX for Advanced & Expert Users 2 05-15-2006 02:29 PM
pkgadd alsande UNIX for Dummies Questions & Answers 4 03-26-2004 11:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-29-2006
Registered User
 

Join Date: Mar 2002
Posts: 165
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Pkgadd problem

Hi there, I need to install the Sun explorer package on hundreds of boxes and am writing a script to install it ..However, When you run

Code:
pkgadd -d SUNWexplo
It is interactive .....well i say interactive ...it gives you two questions both of which I answer a simple yes to.

So i tried

Code:
pkgadd -n SUNWexplo
but it says
Code:
"Installation of <SUNWexplo> was suspended (interaction required)."
mmmmm, interaction required ..ok, ill use pkgask to create a response file, but when I run

Code:
pkgask -r SUNWexplo
i get ....
Code:
pkgask: ERROR: package does not contain an interactive request script

so it is interactive, then it isnt interactive .....??? does anybody know if i can get this to install without asking me questions

any help would be greatly appreciated
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-29-2006
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,439
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
You need an admin file not a respone file for this package.
Reply With Quote
  #3 (permalink)  
Old 09-30-2006
Registered User
 

Join Date: Mar 2002
Posts: 165
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Do I still use pkgask for admin files ?
Reply With Quote
  #4 (permalink)  
Old 09-30-2006
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,439
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by hcclnoodles
Do I still use pkgask for admin files ?
No, you will need to create it manually.
Reply With Quote
  #5 (permalink)  
Old 10-02-2006
Registered User
 

Join Date: Mar 2002
Posts: 165
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Sorry but how do I create an admin file with just 2 `y`s in it ?
Reply With Quote
  #6 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
do following

# vi /var/sadm/install/admin/nocheck

mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
space=ask
setuid=nocheck
confiict=nocheck
action=nocheck
basedir=default
# pkgadd -a /var/sadm/install/admin/nocheck -d .
Reply With Quote
  #7 (permalink)  
Old 05-13-2008
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 366
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
If it is literaly hundreds of boxes, another way of doing it is with expect scripts. You can automate copying the SUNWexplo package to all boxes and installing it.
Reply With Quote
  #8 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Dec 2007
Posts: 42
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
SUN has released a new product Service Tool Bundle. it is basically a installation script which install many applications like Servicetags, Explorer, sneep. You need not bother about adding these applications manually. The script will do it for you. It is simple and easy to use.
download it from
https://cds.sun.com/is-bin/INTERSHOP...-F@CDS-CDS_SMI
Reply With Quote
  #9 (permalink)  
Old 05-15-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by vikashtulsiyan View Post
SUN has released a new product Service Tool Bundle. it is basically a installation script which install many applications like Servicetags, Explorer, sneep. You need not bother about adding these applications manually. The script will do it for you. It is simple and easy to use.
download it from
https://cds.sun.com/is-bin/INTERSHOP...-F@CDS-CDS_SMI
That doesn't solve the problem, as it is also interective.
Reply With Quote
  #10 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: Jan 2007
Posts: 22
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Please do what was suggested here. This will solve all of your problems.



Quote:
Originally Posted by jrck61 View Post
do following

# vi /var/sadm/install/admin/nocheck

mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
space=ask
setuid=nocheck
confiict=nocheck
action=nocheck
basedir=default
# pkgadd -a /var/sadm/install/admin/nocheck -d .
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash exec bash for loop command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute vi+substitute+end+of+line+character while loop within while loop shell script


All times are GMT -7. The time now is 04:08 AM.


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

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101