1848119 Members
8389 Online
104022 Solutions
New Discussion

Re: Patch info

 
P.V.Ramesh
Advisor

Patch info

Hi

How can i know the patch information. Also let me know from you how to add/delte a patch.
14 REPLIES 14
Rajasekhar Raman
Frequent Advisor

Re: Patch info

Do you mean, patches installed on the system? If so, type "swlist -l product " to get a list of all software products as well as patches installed on your system.

You can subscribe to Patch Releases for your particular platform the HP support site. They will send you e-mail periodically with all the patches for your system.

-Shekar
Pete Randall
Outstanding Contributor

Re: Patch info

The patch comes with a text file describing it. It is added with swinstall and removed with swremove.

Does that help?

Pete

Pete
harry d brown jr
Honored Contributor

Re: Patch info


swinstall
swremove

live free or die
harry
Live Free or Die
Sajid_1
Honored Contributor

Re: Patch info

# swlist -lfileset | grep PHNE_XXXX

give the patch name there and will tell you the information.

TO install patch:
# swinstall -x options -s /tmp/patch_name.depot

To learn more about a patch, enter your patch number here:
http://support1.itrc.hp.com/service/patch/mainPage.do
learn unix ..
James R. Ferguson
Acclaimed Contributor

Re: Patch info

Hi:

'swlist' discloses patch information. For 11.x releases, 'show_patches' provides a front-end with a nicely formatted output. 'check_patches' is also very useful following patch installation which is done with 'swinstall'.

For an excellent discussion of patch management see this white paper:

http://docs.hp.com/hpux/pdf/5967-3578.pdf

Regards!

...JRF...
Sajid_1
Honored Contributor

Re: Patch info

Also for removing patch:
# swremove
learn unix ..
Srinivas_14
Occasional Contributor

Re: Patch info

Hi Run the follwing command and it will list
all the patches installed on your system.

swlist -l fileset -a patch_state *.*,c=patch | grep -v superseded

Thanks
harry d brown jr
Honored Contributor
Dirk Wiedemann
Respected Contributor

Re: Patch info

if you have download a .depot-file of a patch you can do the following:
- tar -xvf name.depot
- cd to the patch-directory
- if swlock-file not exist: touch catalog/swlock
- swinstall -s `pwd`

Dirk
P.V.Ramesh
Advisor

Re: Patch info

Hi

Thanks for early reply.

I am expecting a command which gives information about OS it's release and it's patch info.

For example:

In solaris if type

"uname -a"
the output is as follows

SunOS simba 5.5.1 Generic_103640-37 sun4u sparc SUNW,Ultra-4.

It includes all the info. If you notice the above the field Generic_103640-37 is patch information.

In this fashion i would like to know which command will provide this information.

I have tried the same command on HP-UX. but it differs.

I will assign the points after getting correct information.

Thanks
Pete Randall
Outstanding Contributor

Re: Patch info

The answer(s) have already been given. Use swlist.

Pete

Pete
Sajid_1
Honored Contributor

Re: Patch info

You can use this:
# swlist (list all installed softwares, applications and patches)
# swlist -lfileset (more details about file systems)
# uname -a (hostname, model name, OS version etc)

Also another useful system information command:
# print_manifest
learn unix ..
harry d brown jr
Honored Contributor

Re: Patch info

a hundred or so replies to answer?

This member has assigned points to 25 of 129 responses to his/her questions.

Live Free or Die
harry d brown jr
Honored Contributor

Re: Patch info

Of course not that it matters.
Live Free or Die