1834208 Members
2222 Online
110066 Solutions
New Discussion

PATCHE installation

 
SOLVED
Go to solution
YOGI_3
Frequent Advisor

PATCHE installation

How to find that paricular patch is installed on a system?
And how to install a patch which is in tar format?
Will it take reboot?
There is never a wrong time to do the right things
6 REPLIES 6
HGN
Honored Contributor
Solution

Re: PATCHE installation

Hi

To check if a patch is installed

#swlist -l fileset|grep -i PHCO_xxxx (Patch number)

untar the file and there should be a install script run it, make sure when you download in tar format also down load all the dependencies for that patch.

Rgds

HGN
James R. Ferguson
Acclaimed Contributor

Re: PATCHE installation

Hi Yogi:

To find a particular patch you can do, for example:

# swlist -l patch PHCO_30700

You can also run 'show_patches'. Add the '-s' option to list superceded patches. Add the '-a' option to show active patches, or use both options.

A patch in tar format is untared. If the tar archive came form the ITRC Patch Database, the process will yield a script to run, called 'create_depot_hp-ux_11'. Run this and then install the depot it creates with 'swinstall'.

Patches may or may not require a reboot. Patches that begin with PHCO (command) do *not*. Patches that begin with PHKL (kernel) or PHNE (network) *do* take a reboot. Patches beginning with PHSS (SubSystem) *may* or may not require a reboot to install. The patch notes accompanying a patch will tell you. You can also browse the ITRC Patch Database and read the associated patch notes.

Regards!

...JRF...
HGN
Honored Contributor

Re: PATCHE installation

Hi

Forgot to mention after you untar the file there is create depot run that and it will create a depot after which you can use the swinstall and point to this depot (dont forget the dependencies)

Rgds

HGN
Andy Torres
Trusted Contributor

Re: PATCHE installation

Extra info: swinstall is capable of installing software from tar files, depending on the content of the tar file, of course. You might be able to run the swinstall without untarring it.
Pete Randall
Outstanding Contributor

Re: PATCHE installation

I use "swlist -l product |grep patch_name".

Untar it, then swinstall it.

You'll have to check the patch.txt file to see if it requires reboot. Generally, PHKL patches always require reboot and PHCO patches may also require reboot, while PHNE and PHSS patches do not.


Pete

Pete
Doug Burton
Respected Contributor

Re: PATCHE installation

To check if a patch is installed:
swlist -l product
or
swlist -l product | grep

A tared up patch? Un-tar the beast, you should have (I assume) a shar file. To un-shar it:
sh /tmp/Patch_Name
This should give you a text file and a *.depot (patch) file. Add the .depot file to your system:
swinstall -x autoreboot match_target=true -s /tmp/patch.depot
The text file will tell you if it want's a reboot.