1825803 Members
2445 Online
109687 Solutions
New Discussion

create depot error

 
jmb
Regular Advisor

create depot error

This is a straight-forward ./create_depot_hp-ux_ll command for the new QPK. Everything is fine till the swpackage session begins to bundle patches in the depot. Then, for every patch listed in the QPK, it shows "NOTE: Adding unrecognized keyword at line XXX". At the end of the ouptut for ./create_depot it says that errors were found while building the depot. The "swjob" command shows no error messages.

I've seent this before, with other patch bundles. When I ignore it and proceed, there have been no problems that I'm aware of.

Does anyone know what causes this? It would be nice to run this without any Notes or Error messages.

TIA
12 REPLIES 12
Torsten.
Acclaimed Contributor

Re: create depot error

Some more information (like a command line)or some steps you've done may be helpful ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
jmb
Regular Advisor

Re: create depot error

1. This is 11i v1, with the latest QPK downloaded and unzipped.

2. I enter "./create_depot_hp-ux_11".

3. The provided script goes through its normal steps of creating a depot on the disk from the files included in the tarball.
It begins and ends the swcopy sessions without any problems.

4. This is how the screen looks at the end of the swcopy, and as it begins the bundling patches phase:

======= 06/19/07 08:26:36 PDT END swcopy SESSION (non-interactive)
(jobid=server-0351)

Bundling patches in depot

======= 06/19/07 08:26:36 PDT BEGIN swpackage SESSION

* Session started for user "root@server.adm.net".

* Source: server:depot.psf
* Target: server:/var/spool/sw/depot
* Software selections:
*
* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "depot.psf".
* Reading the bundle "BUNDLE" at line 13.
NOTE: Adding unrecognized keyword "PHCO_23370" at line 27.
NOTE: Adding unrecognized keyword "PHCO_23463" at line 28.
NOTE: Adding unrecognized keyword "PHCO_23492" at line 29.
NOTE: Adding unrecognized keyword "PHCO_23702" at line 30.
NOTE: Adding unrecognized keyword "PHCO_23909" at line 31.

It continues on, listing every patch in the QPK. This system has no known problems or issues.
Dennis Handly
Acclaimed Contributor

Re: create depot error

Can you show us depot.psf so we can see what is on line 27, etc?
Prashanth.D.S
Honored Contributor

Re: create depot error

Hi,

Run a swverify to check the depot..

#swverify -d \* @ /path/to/your/depot

Rgds,
Prashanth
Dennis Handly
Acclaimed Contributor

Re: create depot error

>Prashanth: Run a swverify to check the depot..

This is done at the end of create_depot_hp-ux_11.

I looked at my copy of create_depot_hp-ux_11 and depot.psf and I just see:
25 copyright (c)Copyright ...
26 contents PHCO_35955,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
...

You're not exporting UNIX95 are you??
jmb
Regular Advisor

Re: create depot error

Dennis: Here are some of the lines from depot.psf: (also, I am not exporting UNIX95)

18 revision B.11.11
19 architecture HP-UX_B.11.11_32/64
20 machine_type *
21 os_name HP-UX
22 os_release B.11.11
23 os_version *
24 is_reference TRUE
25 copyright (c)Copyright 1983-2004 Hewlett-Packard Co., All Rights Reserved
26 contents GOLDQPK11i_B.11.11.0706.467,r=B.11.11.15,a=HP-UX_B.11.11_32/64,v=HP
27 PHCO_23370 PHCO_23370,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
28 PHCO_23463 PHCO_23463,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
29 PHCO_23492 PHCO_23492,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
30 PHCO_23702 PHCO_23702,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
31 PHCO_23909 PHCO_23909,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
32 PHCO_23920 PHCO_23920,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
33 PHCO_24396 PHCO_24396,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
34 PHCO_24440 PHCO_24440,r=1.0,a=HP-UX_B.11.11_32/64,v=HP

D.S.: swverify ran again without any problem at all, and that includes checking the output of swjob.


Dennis Handly
Acclaimed Contributor

Re: create depot error

26 contents GOLDQPK11i_B.11.11.0706.467,r=B.11.11.15,...
27 PHCO_23370 PHCO_23370,r=1.0,a=HP-UX_B.11.11_32/64,v=HP

Hmm, can you attach your create_depot_hp-ux_11 and patch_manifest?
It should be a pretty simple echo:
echo " contents $PATCH,$SPEC" >> $PSF

No way for the patch ID to be repeated twice. And why did the first line work?

>P.S.: swverify ran again without any problem at all

Well, that's because this swpackage is just a bell and whistle. :-) The swcopy does all of the useful work.
jmb
Regular Advisor

Re: create depot error

This zip file contains the patch manifest and the output of the "./create_depot_hp-ux_11 -f" command.
Dennis Handly
Acclaimed Contributor

Re: create depot error

>output of the "./create_depot_hp-ux_11

I wanted the script create_depot_hp-ux_11.

We are probably going to have to instrument your copy of create_depot_hp-ux_11 to find out what's going on in that loop.
jmb
Regular Advisor

Re: create depot error

Dennis, the script is the same HP "create_depot_hp-ux_ll" script they include in every patch bundle download. I believe it's been effectively unchanged for quite a while.
Dennis Handly
Acclaimed Contributor

Re: create depot error

>the script is the same HP "create_depot_hp-ux_ll" script they include in every patch bundle download

Ok, I'll start with the one I got this week.

My modifications to the script will print out your environment and instrument that loop that builds depot.psf. Then it will exit early.
jmb
Regular Advisor

Re: create depot error

Dennis,

I just got back from 10 days of vacation, and see you've got some debug plans for this.

I started this thread because I thought others might have already seen this issue, and I could bounce off their experience.

I don't have time to pursue your debug steps right now. I appreciate the work, but I can puruse that on my own when I have more time.

Regards,