Operating System - HP-UX
1837628 Members
3093 Online
110117 Solutions
New Discussion

Re: No .depot file after create_depot_hp-ux_11

 
SOLVED
Go to solution
Chris2005
Regular Advisor

No .depot file after create_depot_hp-ux_11

Tried to create a depot using:

./create_depot_hp-ux_11

It succeeds without errors but there's no .depot file in /tmp/patches/depot .

# pwd
/tmp/patches/depot
# find . -name *.depot
# ll
total 112
dr-x------ 2 root sys 96 Jan 25 09:40 BUNDLE
dr-x------ 6 root sys 96 Jan 25 09:39 PHKL_24554
dr-x------ 4 root sys 96 Jan 25 09:40 PHKL_27096
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_28122
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_29704
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_30034
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_30105
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_32002
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_32668
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_33408
dr-x------ 6 root sys 96 Jan 25 09:39 PHKL_33436
dr-x------ 4 root sys 96 Jan 25 09:39 PHKL_34173
dr-x------ 4 root sys 96 Jan 25 09:40 PHKL_34309
dr-x------ 4 root sys 96 Jan 25 09:40 PHKL_34310
dr-x------ 4 root sys 96 Jan 25 09:40 PHKL_34311
dr-x------ 8 root sys 8192 Jan 25 09:40 PHNE_27703
dr-x------ 19 root sys 8192 Jan 25 09:40 catalog
-rw-r--r-- 1 root sys 39979 Jan 25 09:40 swagent.log

What could be the problem?

Regards,
Chris
12 REPLIES 12
James R. Ferguson
Acclaimed Contributor

Re: No .depot file after create_depot_hp-ux_11

Hi Chris:

By default, the resulting depot should be in the current working directory in which you ran 'create_depot_hp_ux_11'. That may not be '/tmp/patches'.

Regards!

...JRF...
Ivan Krastev
Honored Contributor

Re: No .depot file after create_depot_hp-ux_11

Check in script (create_depot_hp-ux_11) where will be created depot and options.

regards,
ivan
Chris2005
Regular Advisor

Re: No .depot file after create_depot_hp-ux_11

The script puts it in DEPOT=$PWD/depot just like the README describes it too.

Tried it again to be sure I'm in /tmp/patches but no .depot file in /tmp/patches/depot/ ?!
Sp4admin
Trusted Contributor

Re: No .depot file after create_depot_hp-ux_11

Hi Chris,

Some times it take two attempts to download. I have downloaded from HP ITRC and had to do it again. Not sure why.

sp,
Chris2005
Regular Advisor

Re: No .depot file after create_depot_hp-ux_11

Tried it severall times, with severall dowloads. Also other patch downloads, but it's not working.

Yesterday I did the very same thing and it worked. Even tried the very same download, but no positieve result.

Could it be possible someone changed the script. I dont't know .....
James R. Ferguson
Acclaimed Contributor

Re: No .depot file after create_depot_hp-ux_11

Hi (again):

OK, you showed:

# pwd
/tmp/patches/depot
# find . -name *.depot
# ll
total 112
[ snipped ]

That's what I would expect. You *have* what you need to install by specifying '/tmp/patches/depot' as the source depot to 'swinstall'.

Regards!

...JRF...
Chris2005
Regular Advisor

Re: No .depot file after create_depot_hp-ux_11

But then I get this.
----

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

======= 01/25/07 11:39:00 MET BEGIN swinstall SESSION
(non-interactive) (jobid=testserv.domein1.nl-0189)

* Session started for user "root@testserv.domein1.nl".

* Beginning Selection
* Target connection succeeded for "testserv.domein1.nl:/".
ERROR: Could not contact host "./". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Source connection failed for "./:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is ./:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 01/25/07 11:39:07 MET END swinstall SESSION (non-interactive)
(jobid=testserv.domein1.nl-0189)

--

Regards,
Chris
Chris2005
Regular Advisor

Re: No .depot file after create_depot_hp-ux_11

Hmm ... Let's try a absolute path now ...
James R. Ferguson
Acclaimed Contributor
Solution

Re: No .depot file after create_depot_hp-ux_11

Hi Chris:

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

Regards!

...JRF...
Chris2005
Regular Advisor

Re: No .depot file after create_depot_hp-ux_11

Yes. Already found out. That was the problem. Stupid me.

Thanx a lot!
Steven E. Protter
Exalted Contributor

Re: No .depot file after create_depot_hp-ux_11

Shalom,

I have found that if I run create_depot_hp-ux_11 that it creates directory called depot, which can be renamed.

There is a -d option that lets you specifiy a destination.

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
Chris2005
Regular Advisor

Re: No .depot file after create_depot_hp-ux_11

Thank you very much all. Learned a lot these last days cause of you guys. This forum really is great!