BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Patches
Showing results for 
Search instead for 
Do you mean 

sfotware depot creation in hp-unix

Super Advisor

sfotware depot creation in hp-unix

[ Edited ]

i want to create the depot file. while one is the correct method to create the depot file

 

1. sh PHCO-15220 

 

2. swcopy -s PHCO-15220

 

 

P.S. This thread has been movedfrom HP-UX>System Administration to HP-UX > patches. -HP Forum Moderator

 

 

5 REPLIES
Honored Contributor

Re: sfotware depot creation in hp-unix

If it is a patch you have downloaded from HP, then the first thing you need to do is un-shar it, which is your option 1.

 

# sh PHCO-15220

 

This should create a PHCO_15220.text and PHCO_15220.depot file.

Highlighted
Super Advisor

Re: sfotware depot creation in hp-unix

ok, thanks for your reply

 

then what is the use of second command  -swcopy -s PHCO

Super Advisor

Re: sfotware depot creation in hp-unix

collection of depot is called bundles, so please share the procedure to create bundles
Acclaimed Contributor

Re: software depot creation in HP-UX

[ Edited ]

>then what is the use of second command swcopy -s PHCO

 

swcopy is used to copy/create depots.  You can use it to combine many depots into one.

 

>collection of depot is called bundles

 

No.  A collection of depots is just one larger depot.

SD bundles are a collection of SD products.  Which is a collection of SD filesets.  Which is a collection of files, metadata and control scripts.

Honored Contributor

Re: sfotware depot creation in hp-unix

[ Edited ]

>> i want to create the depot file. while one is the correct method to create the depot file

 

A depot is useful when you want to easily install software or patches on multiple servers without using NFS or copying the files to each server. It is also useful as a way to collect multiple software items or patches into one depot for a single pass swinstall.

 

>> 1. sh PHCO-15220 

 

Correct. This will produce several PHCO files, one of which will be a .depot file

 

 

>> 2. swcopy -s PHCO-15220

 

The complete command would be:

 # swcopy -x enforce_dependencies=false -s $PWD/PHCO_15220.depot "*" @ /var/tmp/patch1

 

To see the depot from any HP-UX server, use the command:

 # swlist -l depot @ <server>

 

where <server> is the system where you ran the above swcopy command.

 

You can now add more patches to this depot by just repeating the swcopy command:

 # swcopy -x enforce_dependencies=false -s $PWD/PHKL_1234.depot "*" @ /var/tmp/patch1

 

And to install these patches on another server:

 # swinstall -s <server>:/var/tmp/patch1 PHCO_15220

 

or to install everything in the depot:

 # swinstall -s <server>:/var/tmp/patch1 "*"



Bill Hassell, sysadmin