1833788 Members
2631 Online
110063 Solutions
New Discussion

Installing .depot file

 
SOLVED
Go to solution
Sean_21
Advisor

Installing .depot file

I'm having problems installing several depot files on my HP visualize workstation running HP-UX 11.00. I know I have all the latest patches.

This is the command I'm running
"swinstall -s /opt/*.depot \*

This is the error message I keep getting

ERROR: Could not access remote file
"/opt/java1.3/demo/applets/Animator/Animation.class" in
software item
"Java2-JDK13_base.JAVA2-DEMO,r=1.3.1.02.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64:/o
pt/java1.3"
due to an internal error on the remote system.
ERROR: Failed installing fileset
"Java2-JDK13_base.JAVA2-DEMO,r=1.3.1.02.00". Check the above
output for details.
* Retry number 1 of 1 for loading files for fileset
"Java2-JDK13_base.JAVA2-DEMO,r=1.3.1.02.00".
* Installing fileset "Java2-JDK13_base.JAVA2-DEMO,r=1.3.1.02.00"
(1 of 5).
ERROR: Could not access remote file
"/opt/java1.3/demo/applets/Animator/Animation.class" in
software item
"Java2-JDK13_base.JAVA2-DEMO,r=1.3.1.02.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64:/o
pt/java1.3"
due to an internal error on the remote system.
ERROR: Failed installing fileset
"Java2-JDK13_base.JAVA2-DEMO,r=1.3.1.02.00". Check the above
output for details.

Not sure why this is happening, but I could use some help. I'm also trying to install the Netscape browser and I getting the same error message.

Thanks in advance
14 REPLIES 14
Helen French
Honored Contributor
Solution

Re: Installing .depot file

Wilfred Chau_1
Respected Contributor

Re: Installing .depot file

ls *.depot | while read i
do
swreg -l depot $i
swcopy -s $i \* @ /yourpath/newpatch
done

Then, swinstall -s /yourpath/newpatch

After you are done, remove the patches.

ls *.depot|while read i
swreg -u -l depot $i /yourpath/newpatch
rm /yourpath/$i
done
Sean_21
Advisor

Re: Installing .depot file

Ok that fixed that, but now a new error is showing up.


ERROR: "qa116:/opt/B8342AA_v4.73_11.00.depot": You do not have the
required permissions to perform this SD operation. Please
check to see that you have the required permissions using the
"swacl" command or see your system administrator for
assistance.
* Source connection failed for
"qa116:/opt/B8342AA_v4.73_11.00.depot".

Not sure how to use the swacl command, never used it before.
Helen French
Honored Contributor

Re: Installing .depot file

Sanjay_6
Honored Contributor

Re: Installing .depot file

Helen French
Honored Contributor

Re: Installing .depot file

Hi again,

'swacl' is a command to view or modify the Access Control Lists (ACLs) which protect software products.

See man swacl

HTH,
Shiju
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: Installing .depot file

Hi,

This error can be because of various reasons. Check this also:

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=36cbe3f50fccdf549c/screen=ckiDisplayDocument?docId=200000024602413

HTH,
Shiju

Life is a promise, fulfill it!
Sean_21
Advisor

Re: Installing .depot file

I appreciate the responses to my questions. Seems that there is a combination of solutions going on here. I have to admit I'm new to HP-UX, but not Unix. I haven't figured it out yet. I'm trying a couple things. It's either a network hosts issue or permission issue. Do all depot files need to be registered first before install?
Darrell Allen
Honored Contributor

Re: Installing .depot file

Hi Sean,

No, a depot does not have to be registered in order to install from it.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Helen French
Honored Contributor

Re: Installing .depot file

Hi,

It is not necessary to register a depot before installation. You can use the command 'swreg' if you want to register the depot.

HTH,
Shiju
Life is a promise, fulfill it!
Sanjay_6
Honored Contributor

Re: Installing .depot file

Hi Sean,

all depot files do not need to be registered before install. My guess is you have a hostname resolution issue over here. Check your /etc/rc.log file and see if the swagentd was started without any errors duing the bootup process. If it did, stop the swagentd daemon and restart it,

/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start

Then try the installation once again. you can also do a nslookup and check that the hostname and ip is resolved correctly,

nslookup
> server_name
> server_ip_add
> exit

Hope this helps.

regds

Sean_21
Advisor

Re: Installing .depot file

I restarted the swagent, no problem there.

I'm now trying to use the swcopy command.

This is the error* "qa116:/var/spool/sw": This target does not exist and will be
created.
* "qa116:/opt/B8342AA_v4.77_11.11.depot": This source is a tape
device.
* "qa116:/opt/B8342AA_v4.77_11.11.depot": Cannot open the
logfile on this target or source. Possibly the media is
read-only or there is a permission problem. Check the daemon
logfile and "/var/tmp/swagent.log" on this host for more
information.
* Source: /opt/B8342AA_v4.77_11.11.depot
* Targets: qa116:/var/spool/sw
* Software selections:
B8342AA,r=B.11.11.07,a=HP-UX_B.11.11_32/64,v=HP
NS-communicate.NETSCAPE-RUN,r=B.11.00.07,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swcopy.last".
ERROR: "qa116:/var/spool/sw": The software dependencies for 1
products or filesets cannot be resolved.
* The analysis phase failed for "qa116:/var/spool/sw".
* Analysis had errors.


* Beginning Execution
ERROR: "qa116:/var/spool/sw": 1 filesets were determined to be
skipped in the analysis phase.
* The execution phase failed for "qa116:/var/spool/sw".
* Execution had errors.

Sanjay_6
Honored Contributor

Re: Installing .depot file

Hi Sean,

Like the problem says, the dependencies are not resolved. Looks like you are trying to install and incomplete product. Why don't you try the install using "swinstall" in interactive mode. Just type swinstall, selct source as local directory, give the server name as the name of the system and then source path as the path to the .depot file, /tmp/file_name.depot or whereever the file is located.

Hope this helps.

Regds
Sean_21
Advisor

Re: Installing .depot file

With everyones responses I was able to work it out.

Thanks everyone!