1833924 Members
3323 Online
110063 Solutions
New Discussion

Patch Installation

 
SOLVED
Go to solution
Chi Yi Lee
Advisor

Patch Installation

Hi,

I just downloaded a patch, but I'm not sure how to install it. I was thinking to use

# tar xvf PHSS_30049.tar
# swinstall -i

.... would this work? or do I need to make depot?
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: Patch Installation

The tarball should include a readme file, a create depot script and your patches, similar to below. Once you untar the tarball, the create_depot file will create the depot for you. You can then run 'swinstall' without any options interactively and choose the newly created depot for install.

README_hp-ux
create_depot_hp-ux_11
PHCO_25569
PHCO_28605
PHCO_30030
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: Patch Installation

create_depot_hp-ux_11 -d /full_path_of_depot

then

swinstall -x autoreboot=true -x reinstall=false -s /full_path_of_depot \*

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
SS_6
Valued Contributor

Re: Patch Installation

After you untar it, you will get PHSS_30049.depot, do like following.Give full path like if patch is in /tmp than


#swinstall -s /tmp/PHSS_30049.depot
Swinstall window will be invoked. Select pach from menu and do analysis, and than install, check the logs for any errors etc.You need not to make a depot or register it if you do it by command line. While yo do untar there will be script which can do almost everything for you.
By providing solutions I am helping myself