Operating System - HP-UX
1827294 Members
3275 Online
109717 Solutions
New Discussion

".depot" files not recognized by SDUX

 
SOLVED
Go to solution
Frank_16
Occasional Advisor

".depot" files not recognized by SDUX

I am trying to install several .depot files from /var/spool/sw ; however, swinstall does not recognize the source. The exact error message I get is the following:

"There currently no depot software on host "hp1' at location /var/spool/sw Make sure an absolute pathname is specified for location...

has anyone seen this problem.. I can install from CDs and tape fine but not from a ".depot" file.


Thanks in advance...
9 REPLIES 9
Helen French
Honored Contributor

Re: ".depot" files not recognized by SDUX

Hi Frank:

Did you give the full path ? After invoking swinstall, give the full path of the depot in the target window:

/var/adm/sw/install.depot

Also register the depot with 'swreg' command. See the man pages for more details:

# man swreg

HTH,
Shiju
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: ".depot" files not recognized by SDUX

Do this ..
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
===> restart swagent daemon
# swreg -l depot /var/spool/sw
===> register the depot
# swinstall -s /var/spool/sw
===> try installing it again
Clemens van Everdingen
Honored Contributor

Re: ".depot" files not recognized by SDUX

Hi,

If you mean for example PHKL_23456
You have to select source /var/spool/sw/PHKL_23456.depot to install succesfully this .depot file.

It should not be needed to swreg.
But you can always try that as well.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
T. M. Louah
Esteemed Contributor

Re: ".depot" files not recognized by SDUX

.: If above doesn't work try restart swagentd
# #/usr/sbin/swagentd -r
If you have to kill an old swinstall process by hand, you will also have to remove the lock file:

# rm /var/adm/sw/products/swlock
then restart swagentd

.: remember PAP! a.k.a Pliz assign points :)
T??

Little learning is dangerous!
T G Manikandan
Honored Contributor
Solution

Re: ".depot" files not recognized by SDUX

Hello,
First register your dopot file using swreg.

swreg -l depot

eg.
swreg -l depot /opt/gcc.depot.

Then run swinstall
swinstall -s /opt/gcc.depot.

Thanks
V. V. Ravi Kumar_1
Respected Contributor

Re: ".depot" files not recognized by SDUX

hi,

since u mentioned several depot files, u need to create a depot of all these files and try to install. iam writing a procedure.

suppose u downloaded two patches into /tmp.
PHKL_20186.html
PHKL_20333.html
# cd /tmp
# sh PHKL_20186.html
#sh PHKL_20333.html
this will create text and depot files of respective patches. copy all depot files into a depot directory (/tmp/depot) with the following command.

# swcopy -x enforce_dependencies=false -s /tmp/PHKL_20186.depot \* @ /tmp/depot

similarly for the other depot file also.

register ur depot
#swreg -l depot /tmp/depot

install depot
#swinstall -s /tmp/depot

hope this helps.
regds
ravi
Never Say No
MAD_2
Super Advisor

Re: ".depot" files not recognized by SDUX

Frank,

First, let me tell you I experiend the same problem through SAM and it was because I was not using the FULL PATH (directory and depot file name included).

The recommendation I've seen from HP is to place the files (unshared) into a tmp directory (you really do not want to start placing patches in your system directories. We used something like "/tmp/patches/depot".

Then, if the patch still the compressed version (simply PHSS_#####), unshar to extract the standard two (.depot and .txt), intructions and .depot files, i.e.:

cd /tmp/patches/depot
sh PHSS_26262

Should create:
PHSS_26262.depot
PHSS_26262.txt

Run the swintall through the command line or use SAM, i.e. (normally provided in HP instructions -- for SAM you need to use the full path "/tmp/patches/depot/PHSS_26262.depot):

swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/patches/depot/PHSS_26262.depot

Be aware of the options given here, read "man swintall".

I hope this is some help!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Frank_16
Occasional Advisor

Re: ".depot" files not recognized by SDUX

Folks,

Thanks very much for all of the great tips on resolving this problem I have. After going through and trying the different suggestions, Mr. T G Manikandan's suggestion of registring the actual application to be installed worked ie.. swreg -l depot /var/spool/sw/gcc.depot
and then issuing the install command using the same path and depot file registered as follows: swinstall -s /var/spool/sw/gcc.depot

these worked like a charm...

Mr. T G Manikandan and ALL, thank you VERY MUCH!
Frank


H.Merijn Brand (procura
Honored Contributor

Re: ".depot" files not recognized by SDUX

N/A for this one, but I think it would be *FAIR* to asign point to *ALL* answers, not only 10 to the answer you like. At least 3 other answers are valid (quick browse)
Enjoy, Have FUN! H.Merijn