General
cancel
Showing results for 
Search instead for 
Did you mean: 

swinstall for a package gives error

akyy
Occasional Advisor

swinstall for a package gives error

Package installation gives error with following:

anbnm5a,sys,root # swinstall -s **************.sdpkg INSTALLER:************

======= 12/02/09 10:25:36 EET BEGIN swinstall SESSION
(non-interactive) (jobid=anbnm5a-0199)

* Session started for user "root@anbnm5a".

* Beginning Selection
* Target connection succeeded for "anbnm5a:/".
ERROR: Could not apply the software selection
"INSTALLER:***************" because there are no product
variations that are compatible with the destination host(s).
* Software selection failed for
"anbnm5a:/*****************/INSTALLER_7.1.3.1.sdpkg".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.



======= 12/02/09 10:25:37 EET END swinstall SESSION (non-interactive)
(jobid=anbnm5a-0199)


---------------------------------


anbnm5a,sys,root # swinstall -x allow_incompatible=true \*

======= 12/02/09 10:27:01 EET BEGIN swinstall SESSION
(non-interactive) (jobid=anbnm5a-0200)

* Session started for user "root@anbnm5a".

* Beginning Selection
* Target connection succeeded for "anbnm5a:/".
ERROR: There is currently no depot software on host "anbnm5a" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "anbnm5a:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is anbnm5a:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 12/02/09 10:27:01 EET END swinstall SESSION (non-interactive)
(jobid=anbnm5a-0200)


-----------------------------


I think i need to register a sw depot with swreg. But i donot know the procedure exactly how to execute this command.
3 REPLIES
Kapil Jha
Honored Contributor

Re: swinstall for a package gives error

for 1st your product does not seems to be compatible with the machine.

for 2nd give full path

swinstall -x allow_incompatible=true \path\to\depot

BR,
Kapil+
I am in this small bowl, I wane see the real world......
akyy
Occasional Advisor

Re: swinstall for a package gives error

I've given full path, but error is the same:

egtmast,sys,root # swinstall -x allow_incompatible=true /var/spool/sw

======= 12/02/09 10:36:58 EET BEGIN swinstall SESSION
(non-interactive) (jobid=egtmast-0131)

* Session started for user "root@egtmast".

* Beginning Selection
* Target connection succeeded for "egtmast:/".
ERROR: There is currently no depot software on host "egtmast" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "egtmast:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is egtmast:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 12/02/09 10:37:00 EET END swinstall SESSION (non-interactive)
(jobid=egtmast-0131)
Dennis Handly
Acclaimed Contributor

Re: swinstall for a package gives error

# swinstall -s **************.sdpkg INSTALLER:************

Please specify the actual line or at least replace by foo/bar or "x" and not shell meta characters like "*".

>I've given full path,

You forgot the "-s" that time. The correct syntax is:
swinstall -s /absolute/path/to/depot

Using "-x allow_incompatible=true" can be dangerous.