Operating System - HP-UX
1826341 Members
4017 Online
109692 Solutions
New Discussion

Installed a patch but it is not displaying using swlist ..

 
SOLVED
Go to solution
shashi kiran_3
Occasional Advisor

Installed a patch but it is not displaying using swlist ..



Today I have installed a patch (PHSS_20861 & PHSS_23796 ) using swinstall on our HP-UX 10.20 machines.There was no error and it was successful.

But if I run swlist | grep PHSS_20861 Or swlist | grep PHSS_23796 it is not displaying the installed patch..
i tried it After reboot also. I believe it is not installed.


But If I run [root@zen / 3 ] /usr/sbin/swlist -l fileset -a state -a patch_state | grep PHSS_20861
# PHSS_20861
PHSS_20861.PHSS_20861 configured
[root@zen / 54 ]

These Patchs are there at /var/adm/sw/products


any suggestions?

Thanks ,
Shashikiran
11 REPLIES 11
MarkSyder
Honored Contributor
Solution

Re: Installed a patch but it is not displaying using swlist ..

Did you install them as a bundle? If so, swlist will not show them individually.

I don't know why - perhaps someone else can explain that. But don't worry - this happens to me all the time and the patches have successfully installed.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Pete Randall
Outstanding Contributor

Re: Installed a patch but it is not displaying using swlist ..

Try "swlist -l patch | grep PHSS_ 20861 " and "swlist -l patch |grep PHSS_23796".


Pete

Pete
Franky_1
Respected Contributor

Re: Installed a patch but it is not displaying using swlist ..

Hi,

you should use "swlist -l product|grep PHSS_XXX
not only swlist|grep ...

Regards

Franky
Don't worry be happy
Jeff Schussele
Honored Contributor

Re: Installed a patch but it is not displaying using swlist ..

Hi Shashikiran,

Check for the existence of the patches with:

swlist -l patch | grep -e 20861 -e 23796

you can also add -a state to see if they're Configured. Do the sw?????.log files show the patch being installed?

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!

Re: Installed a patch but it is not displaying using swlist ..

Shashikiran,

swlist display products in a hierarchy - the default level is to show a product bundle.

Those patches are probably part of a bundle already installed on your system.

To see all patches installed on a system, including those in bundles, don't run just 'swlist', run 'swlist -l product'.

If the swlist you ran down to fileset level (swlist -l fileset -a state) shows them as configured, then they are dfeinately installed.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Muthukumar_5
Honored Contributor

Re: Installed a patch but it is not displaying using swlist ..

Default action of swlist will give the sd reports with bundle(s) and Product(s) not contained in a Bundle.

If you are trying for fileset level then you have to start with swlist -l

-l level levels of objects to view, one of: "depot",
"bundle", "product", "subproduct", "fileset",
"file", "root", "shroot", "prroot",
"category", "patch", "control_file"


Level rate is as depot --> bundle --> as in the level option.

Problem is because of sd level.

Easy to suggest when don't know about the problem!
shashi kiran_3
Occasional Advisor

Re: Installed a patch but it is not displaying using swlist ..

Hi Thanks for quick resonces..

We have install them as a bundle from other network machine.

PLs find attached index file from /var/adm/sw/products .

swlist -l patch | grep PHSS_20861 &
swlist -l product|grep PHSS_20861 does not display anything.
Thanks & Regards
shashi kiran_3
Occasional Advisor

Re: Installed a patch but it is not displaying using swlist ..

Hi Thanks for quick resonces..

We have install them as a bundle from other network machine.

PLs find attached index file from /var/adm/sw/products .

swlist -l patch | grep PHSS_20861 &
swlist -l product|grep PHSS_20861 does not display anything.
Thanks & Regards
shashi
shashi kiran_3
Occasional Advisor

Re: Installed a patch but it is not displaying using swlist ..

HI

zen / 33 > usr/sbin/swlist -l fileset -a state -a patch_state | grep PHSS_20861
# PHSS_20861
PHSS_20861.PHSS_20861 configured
zen / 34 > /usr/sbin/swlist -l fileset -a state -a patch_state | grep PHSS_23796
# PHSS_23796
PHSS_23796.PHSS_23796 configured
zen / 35 >


Is This indicates the patches are installed ?

Thanks & Regards
Shashi
Pete Randall
Outstanding Contributor

Re: Installed a patch but it is not displaying using swlist ..

Yes.

Pete
Muthukumar_5
Honored Contributor

Re: Installed a patch but it is not displaying using swlist ..

You will get configured state as, after getting installed.

10.20 swinstall man page says -->

By default, the software is configured for use on the
target after it is installed. (The software is not configured when
installed into an alternate root directory.)

Easy to suggest when don't know about the problem!