Operating System - HP-UX
1833891 Members
2232 Online
110063 Solutions
New Discussion

Re: Installing An individual patch

 
Miro Klima
Advisor

Installing An individual patch

The following files are in the /tmp/patches/ directory:
PHC0_28123
PHC0_28123.depot
PHC0_28123.text
create_depot_hp-ux_11
README_hp-ux
I thought I could run create_depot_hp-ux_11, but it's a file and not a script. What are the steps for installing this patch?
4 REPLIES 4
Michael Steele_2
Honored Contributor

Re: Installing An individual patch

# export DISPLAY=###.###.###.###:0.0 (* ip address of work station *)

# swinstall & (* launch gui *)





-or-

# swinstall -s /dir/PHC0_28123.depot
Support Fatherhood - Stop Family Law
Norman_21
Honored Contributor

Re: Installing An individual patch


You should run it as following:

# ./create_depot_hp_ux_11

it'll create the files *.text and *.depot and a directory /depot, then:

# rm *.depot
# rm *.text

# swinstall -s /tmp/patches/directory/depot

Read the README_hp-ux for more details!

Thanks
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Steven E. Protter
Exalted Contributor

Re: Installing An individual patch

If its only one patch, you don't need to use the create_depot script. That script is for creating a single depot with multiple patches.

swinstall -s /tmp/patches/PHCVO_28123.depot \*


If its a reboot patch, the command line is thus:

swinstall -x autoreboot=true -x reinstall=false -s /tmp/patches/PHCVO_28123.depot \*


The reinstall line prevents damaging reinstalls, but is not required.

The prior posts are quite valid solutions as well.

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
Bhuvaneswari Selvaraj
Valued Contributor

Re: Installing An individual patch

Hi,

Steven Protter's reply is pretty good.. Yo umay need to add one mpre option -x reinstall=true if the patch is already installed on the system and you want to reinstall the same...

You may want to go through man swinstall to get to know the additional options and their usage..

If you are a new user, it will be helpful, if you export the display and just give swinstall.. it will bring up a GUI in which there is a options checklist that is self explanatory..click your choice and then install.

hope this helps...