Pkgadd problem


 
Thread Tools Search this Thread
Operating Systems Solaris Pkgadd problem
# 1  
Old 09-29-2006
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
# 2  
Old 09-29-2006
You need an admin file not a respone file for this package.
# 3  
Old 09-30-2006
Do I still use pkgask for admin files ?
# 4  
Old 09-30-2006
Quote:
Originally Posted by hcclnoodles
Do I still use pkgask for admin files ?
No, you will need to create it manually.
# 5  
Old 10-02-2006
Sorry but how do I create an admin file with just 2 `y`s in it ?
# 6  
Old 05-13-2008
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 .
# 7  
Old 05-13-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Pkgadd issue

Good Afternoon, I have 3 video driver packages in a directory that need to be installed. on a SunBlade 2500 running Solaris9. When I try running pkgadd -d /Recovery/CloneDrivers/SUNWpfbcf for example, I get pkgadd: ERROR: no packages were found in </var/spool/pkg> Permissions are 755, owner... (3 Replies)
Discussion started by: Stellaman1977
3 Replies

2. Solaris

Pkgadd with firefox

I am using Solaris 10, and trying to keep a number of old Sun workstations running. Since version 17 of firefox, I have had problems using pkgadd, and had to use tar to un-archive the components of firefox. Is this just a problem with firefox (and probably thunderbird), or is pkgadd broken (1 Reply)
Discussion started by: jkoval
1 Replies

3. Solaris

pkgadd changes permissions of /etc

Hi, when I install a package using pkgadd, it correctly installs the binary files with the user name that I want. However it also changes the permissions of /etc/rc2.d. I don't want this to happen. I want to retain original owner of /etc/rc2.d as it is. I could see that before installing,... (1 Reply)
Discussion started by: funwithdolphin
1 Replies

4. Solaris

pkgadd woes

Morning all, I am attempting to load a package from a Solaris 8 CDROM. This fails with the error : "pkgadd: ERROR: unable to access pkgmap file </cdrom/ .........../SUNWlibC/pkgmap> No changes were made to the system" Any help would be appreciated Andy (6 Replies)
Discussion started by: AndyD
6 Replies

5. Solaris

pkgadd?

Hi all. Is there an option to #pkgadd to test if package bundle you want to install requires a reboot? #pkgadd -d "package bundle" an option like test or a dry run? Suggestions, anyone? :confused: Reloader (2 Replies)
Discussion started by: Reloader
2 Replies

6. Solaris

pkgadd help

I'm trying to install a package and it worked on most of the sun boxes and one of the box is just freezing and not going further. Her is the output. pkgadd -d packagename.dstream Select package(s) you wish to process (or 'all' to process all packages). (default: all) : Processing... (1 Reply)
Discussion started by: mokkan
1 Replies

7. Solaris

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. (6 Replies)
Discussion started by: melanie_pfefer
6 Replies

8. UNIX for Advanced & Expert Users

PKGADD error

Hello.. I'm making a pkg file that inserts a few files into an existing directory structure. I'm having some trouble in that the package will insert the directories I need.. but will fail to put the files I want into those directories. What I'm getting is this: ERROR: attribute... (2 Replies)
Discussion started by: Bags
2 Replies

9. UNIX for Dummies Questions & Answers

pkgadd

I am adding gcc 3.3.2 to my unix box what is the best way to do it???? (4 Replies)
Discussion started by: alsande
4 Replies

10. UNIX for Dummies Questions & Answers

Pkgadd / gnutar

I have sucessfully installed GNUtar using pkgadd but with some questions: When I tried to install with pkgadd -d GNUtar (which is the directory of the package) - I received the error "pkgadd: command not found" Then I tried the same but with pkgadd -d. GNUtar and it installed fine. (found... (4 Replies)
Discussion started by: finster
4 Replies
Login or Register to Ask a Question