Operating System - HP-UX
1847882 Members
4951 Online
104021 Solutions
New Discussion

Re: [HELP]about non-interactive swinstall[HELP]

 
SOLVED
Go to solution
zhangr_2
Advisor

[HELP]about non-interactive swinstall[HELP]

When I run command like below:
/usr/sbin/swinstall -x mount_all_filesystems=false -x match_target=true -x autoreboot=true -s /opt/nmp/setups/rzhangtmp/zlib-1.1.4-hpux

I always got ERROR MESSAGE like:

======= 03/24/03 11:32:15 EAT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@beeda14".

* Beginning Selection
* Target connection succeeded for "beeda14:/".
NOTE: The match operation failed to find software in the source that
matches software on the target.
NOTE: Cannot continue the "swinstall" task.

But If I use the interactive way to install the zlib everything is ok.command like below:
swinstall -s /opt/nmp/setups/rzhangtmp/zlib-1.1.4-hpux

I don't know why the swinstall can't find the software in non-interactive way.but can find the software in interactive way.
7 REPLIES 7
someone_4
Honored Contributor

Re: [HELP]about non-interactive swinstall[HELP]

Hello
what happends if you try

swinstall -s s /opt/nmp/setups/rzhangtmp/zlib-1.1.4-hpux - mount_all_filesystems=false -x
match_target=true -x autoreboot=true

use the when you start a new line



Richard
someone_4
Honored Contributor

Re: [HELP]about non-interactive swinstall[HELP]

sorry typos on the first post ..


swinstall -s /opt/nmp/setups/rzhangtmp/zlib-1.1.4-hpux -x mount_all_filesystems=false -x match_target=true -x autoreboot=true

Richard
Michael Tully
Honored Contributor
Solution

Re: [HELP]about non-interactive swinstall[HELP]

Try adding "\*" to the source.

e.g.

# swinstall -s /opt/nmp/setups/rzhangtmp/zlib-1.1.4-hpux -x mount_all_filesystems=false -x match_target=true -x autoreboot=true \*

Anyone for a Mutiny ?
Norman_21
Honored Contributor

Re: [HELP]about non-interactive swinstall[HELP]

Hi,

Also this should do it in none interactive mode:

#swinstall -s /opt/nmp/setups/rzhangtmp/zlib-1.1.4-hpux \*

Thanks and good luck.


"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
zhangr_2
Advisor

Re: [HELP]about non-interactive swinstall[HELP]

adding "\*" to the source is work!
Thanks for all of yours help!
Have a nice day!

what is the \* mean?
thanks!

BTW:
swinstall -s /opt/nmp/setups/rzhangtmp/zlib-1.1.4-hpux -x mount_all_filesystems=false -x match_target=true -x autoreboot=true
is not work!
Fragon
Trusted Contributor

Re: [HELP]about non-interactive swinstall[HELP]

\* means "select all depot files"!
Norman_21
Honored Contributor

Re: [HELP]about non-interactive swinstall[HELP]

Hello again,

This will tell you what does "\*" mean:

#man swinstall|grep \*

Also, it'll be more thanksful if you assign points.
Thanks again.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003