1834118 Members
2606 Online
110064 Solutions
New Discussion

swinstall

 
SOLVED
Go to solution
Scott D. Allen
Regular Advisor

swinstall

I know I've asked a similar question about this before, but here we go again....

If I have a depot and I want to install it non-interactively with swinstall, what's the command line syntax look like?

swinstall -??? package.depot -x autoreboot=false

TIA

--Scott
"Sometimes the devil you know is better than the devil you don't know."
11 REPLIES 11
Rick Garland
Honored Contributor

Re: swinstall

What I tend to use:

swinstall -x mount_all_filesystems=false -x autoreboot=false -s /

NOTE: The autoreboot=false will only work for those patches that do not require reboot. If the patch does kernel mods, the autoreboot flag will be disregarded. Also, if you are able to skip the autoreboot when a patch install requires it, you risk an unstable system if you do not do the reboot.
Scott D. Allen
Regular Advisor

Re: swinstall

Rick,

Thanks. However, that takes me into interactive mode still. If I just do

swinstall /path/to/depot

it tries to do the install but then complains about no depots at /var/spool/sw, do I have to copy it into /var/spool/sw or can I specify it WITHOUT going interactive?

Thanks.

--Scott
"Sometimes the devil you know is better than the devil you don't know."
John Hoffmaster
New Member

Re: swinstall

Hi,
I found the full command at the following
In the SDUX Admin book : http://www.docs.hp.com/hpux/onlinedocs/B2355-90154/B2355-90154.html

I ran into the same problem and
I think this swinstall command example will preview the install of a piece of software package called ABC on the current host from a remote host called faraway, where faraway has a registered software depot in the path /software/depot

swinstall -p -s faraway:/software/depot ABC

Though, I will need to add some of the -x options mentioned after further testing 8-)
John Hoffmaster
New Member
Solution

Re: swinstall

Hi,
I found the full command at the following
In the SDUX Admin book : http://www.docs.hp.com/hpux/onlinedocs/B2355-90154/B2355-90154.html

I ran into the same problem and
I think this swinstall command example will preview the install of a piece of software package called ABC on the current host from a remote host called faraway, where faraway has a registered software depot in the path /software/depot

swinstall -p -s faraway:/software/depot ABC

Though, I will need to add some of the -x options mentioned after further testing 8-)
Scott D. Allen
Regular Advisor

Re: swinstall

John (and Rick),

Thanks fellas! I'm set!

--Scott
"Sometimes the devil you know is better than the devil you don't know."

Re: swinstall

Hi,

We use sometimes the command:

swinstall -v -s :

Where -v is for verbose
-s is for source

Note that for some applications (eg. Unicenter TNG) you need to put all your cdroms in /etc/fstab into comment!

Hope it helps...


With regards,

Dieter Degrendele
Dieter@Work

Re: swinstall

Hi,

We use sometimes the command:

swinstall -v -s :

Where -v is for verbose
-s is for source

Note that for some applications (eg. Unicenter TNG) you need to put all your cdroms in /etc/fstab into comment!

Hope it helps...


With regards,

Dieter Degrendele
Dieter@Work

Re: swinstall

Hi,

We use sometimes the command:

swinstall -v -s :

Where -v is for verbose
-s is for source

Note that for some applications (eg. Unicenter TNG) you need to put all your cdroms in /etc/fstab into comment!

Hope it helps...


With regards,

Dieter Degrendele
Dieter@Work

Re: swinstall

Hi,

We use sometimes the command:

swinstall -v -s :

Where -v is for verbose
-s is for source

Note that for some applications (eg. Unicenter TNG) you need to put all your cdroms in /etc/fstab into comment!

Hope it helps...


With regards,

Dieter Degrendele
Dieter@Work

Re: swinstall

Hi,

We use sometimes the command:

swinstall -v -s :

Where -v is for verbose
-s is for source

Note that for some applications (eg. Unicenter TNG) you need to put all your cdroms in /etc/fstab into comment!

Hope it helps...


With regards,

Dieter Degrendele
Dieter@Work

Re: swinstall

Sorry,

I got errors when sending the answer.
Dieter@Work