1825667 Members
4224 Online
109686 Solutions
New Discussion

Re: swinstall failure

 
tlh1005
New Member

swinstall failure

Hello,
I'm trying to install SDK 5 to an alternate location. This is my command line:

/usr/sbin/swinstall -x run_as_superuser=false -x reinstall=true -s /thirdparty/sdk5.0.02/jdk.depot \* @/thirdparty/sdk5.0.02

I am getting the following error:
-------------
ERROR: Could not apply the software selection "Jdk15" because a
different variant of a dependency for this product has already
been selected.
* Software selection failed for
"itanic:/thirdparty/sdk5.0.02/jdk.depot".
ERROR: Could not apply the software selection "Jre15" because a
different variant of this same product has already been
selected.
* Software selection failed for
"itanic:/thirdparty/sdk5.0.02/jdk.depot".
---------------




I've only been able to find one related post int he forums and none of the suggestions found within worked. Could someone offer a suggestion as to why this isn't installing for me? The help would be greatly appreciated!
Below is the swlog:




======= 06/23/06 10:33:09 EDT BEGIN install AGENT SESSION (pid=4258)
(non-privileged)

* Agent session started for user "trharr@itanic.mybox.com".
(pid=4258)

* Beginning Analysis Phase.
* Source:
itanic.mybox.com:/thirdparty/sdk5.0.02/jdk.depot
* Target: itanic:/thirdparty/sdk5.0.02
* Target logfile:
itanic:/thirdparty/sdk5.0.02/var/home/trharr/sw/swagent.log
* Installed sw catalog: /var/home/trharr/sw/products
* Reading source for product information.
NOTE: The filesystems in the filesystem table will not be checked
against those currently mounted because the
"mount_all_filesystems" option is set to "false".
* Reading source for file information.
* Executing preDSA command.
NOTE: The bundle "Java15JDK,r=1.5.0.02.02" will be reinstalled
because the "reinstall" option is set to "true".

* Summary of Analysis Phase:
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 0
* Files: 0
* Kbytes: 0
* Installing bundle "Java15JDK,r=1.5.0.02.02" .
* Building the software file
"/thirdparty/sdk5.0.02/var/home/trharr/sw/needs_config" to be
used for post-reboot "swconfig" execution. The information in
this file will be used as input to "swconfig" after the system
reboots.

* Summary of Execution Phase:
* The Execution Phase succeeded.


======= 06/23/06 10:33:10 EDT END install AGENT SESSION (pid=4258)
(non-privileged)
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: swinstall failure

Shalom,

I ran some tests for exactly the same thing and got hte same results.

Perhaps try it as root

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
tlh1005
New Member

Re: swinstall failure

Well I was initially getting errors not as root but when I began runnning with

-x run_as_superuser=false

I got past the permissions issue. I've yet to install java5 but on a different box using previously releases I've been able to do this fine as root and as non-root.

Thanks,
Troy
tlh1005
New Member

Re: swinstall failure

I've found no help on this one thus far. There was one similar post here in the past but it didn't seem to get resolved and there were a few different explanations given for why this failure would happen. Any further or more relevant insight would be greatly appreciated.
Peter Nikitka
Honored Contributor

Re: swinstall failure

Hi,

you can try:

- remove previous version(s)
- install new version under alternative path
- (A) if unsuccesful, install under original path
- install previous version(s) again
- if(A) use alternative path

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"