Operating System - HP-UX
1848620 Members
2031 Online
104033 Solutions
New Discussion

Re: swinstall - Cannot open /var/depots/verify....

 
Darin England
New Member

swinstall - Cannot open /var/depots/verify....

Hi,

Let me prefix this by saying that I'm very new at installing patches.

I picked up the March recommended patch bundle(XSW11I...), untar'd it, and put it in a temporary directory(/usr/patches).

Then I did a:
swinstall -x autoreboot=true -x patch_match_target=true -s /usr/patches

During the installation, Some errors caught my eye - they were all very similar and looked something like:

ERROR: Cannot open source file
"/var/depots/verify/PHCO_23333/LVM-RUN/sbin/lvchange" to copy
it. No such file or directory (2).

All refered to the /var/depots/verify directory (which doesn't exist on my machine). I've reread the guide, searched around and still haven't found anything about this directory anywhere. This can't be that difficult - does anybody know what I'm missing?

Thanks
7 REPLIES 7
hpuxrox
Respected Contributor

Re: swinstall - Cannot open /var/depots/verify....

swreg -l depot /usr/patches

Then try the install

Jeff Schussele
Honored Contributor

Re: swinstall - Cannot open /var/depots/verify....

Hi Darin,

You say "untar'd" it - did you mean unshar'd it?

The correct command should have been

sh filename

Then you should be able to swinstall them.

BTW it never hurts to register (swreg) the depot so that other systems can access it.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
pap
Respected Contributor

Re: swinstall - Cannot open /var/depots/verify....

Hi Darin,
It looks like you have not registered a depot at /usr/patches.

You need to register it
swreg -l depot /usr/patches.

Otherwise have to give complete patch including the patch to be installed.

e.g PHSS_23045

swinstall ..../usr/patches/PHSS_23045.depot

That will do .

-pap
"Winners don't do different things , they do things differently"
hpuxrox
Respected Contributor

Re: swinstall - Cannot open /var/depots/verify....

Also, If you untared the depot you may need to

touch /usr/patches/catalog/swlock

for it to work.
Jeff Schussele
Honored Contributor

Re: swinstall - Cannot open /var/depots/verify....

Hi (again) Darin,

Did you pick up the 11i Quality Pack bundle - March 2002?

If so AFAIK it does not require any untar or unshar at all - you just run swinstall straight against it.

Run

swlist -d @ /path/to/dir/bundle_name.depot

if that gives the proper bundle description - just run swinstall against it w/the same -x options you spelled out earlier.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
David Burgess
Esteemed Contributor

Re: swinstall - Cannot open /var/depots/verify....

You need to register the depot :-

swreg -l depot /usr/patches

Now try the install.

Also swinstall can install packages from tar files. This may apply to patches. If this still doesn't work run the install against the tar file.

HTH

Dave.
David Burgess
Esteemed Contributor

Re: swinstall - Cannot open /var/depots/verify....

You're missing something after

swinstall -x autoreboot=true -x patch_match_target=true -s /usr/patches


/usr/patches in the directory. There should be a patch bundle in the directoty. Add this to -s

ie -s /usr/patches/BUNDLENAME

HTH

Dave.