Operating System - HP-UX
1824994 Members
2204 Online
109678 Solutions
New Discussion юеВ

Re: How do you copy a patch into an existing depot?

 
SOLVED
Go to solution
John E. Goetz
Frequent Advisor

How do you copy a patch into an existing depot?

I have a depot ready to be installed but need to add one patch to it. What are the commands to do this?
4 REPLIES 4
David Bellamy
Respected Contributor
Solution

Re: How do you copy a patch into an existing depot?

swcopy -s "patch" @depot
James R. Ferguson
Acclaimed Contributor

Re: How do you copy a patch into an existing depot?

Hi John:

# swcopy -v -s /tmp/PHxxxx_nnnn.depot -x enforce_dependencies=false \*
@ /var/tmp/swdepot

By using '-x enforce_dependencies=false' you don't have to meet patch dependency requirements within the depot. You *change* this to '-x enforce_dependencies=true' when you perform the actual 'swinstll' but the dependencies are verified to be me using your Installed Product Database *and* the depot at the point.

Regards!

...JRF...
Ra Jose
Regular Advisor

Re: How do you copy a patch into an existing depot?

List depots
# swlist -l depot
If you patch shar, first create
patch depot
Then copy the patches from patch depot
to your target depot that you want.
# swcopy -s patch_depot \* @ target_depot

The above will copy your patches from patch_depot to target_depot that you want. Then you can use target_depot the load onto the system.
Rajos
James George_1
Trusted Contributor

Re: How do you copy a patch into an existing depot?


# swcopy -x enforce_dependencies=false -x mount_all_filesystems=false -s /tmp/patch.depot \* @ hostname:/your_existing_depot

Rgds/ james
forum is for techies .....heaven is for those who are born again !!