1834514 Members
2530 Online
110068 Solutions
New Discussion

swlist -l product list

 
Jeevan_4
Advisor

swlist -l product list

When i ran the "swlist -l product" command in HP-UX 11.11, the output has duplicate entries of software.

Does anyone know from where does swlist command pick the information from ?
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: swlist -l product list

Hi Jeevan:

Post your output and the command used to generate it, please.

The output of 'swlist' is derived from an analysis of the IPD (Installed Product Database) as stored in '/var/adm/sw'. Do *NOT* directly modify the contents of this directory! To attempt to do so can lead to a system that cannot be patched.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: swlist -l product list

Shalom,

You may find the -a fileset command sheds some light on the situation.

Or you may actually have slightly different revisions of the same software double installed.

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
tsf_1
Frequent Advisor

Re: swlist -l product list

'swlist -l product' read from /var/adm/sw/products/*
be willing to do, be happy to bear
Bob E Campbell
Honored Contributor

Re: swlist -l product list

For you to see multiple entries for the same product you would either need to have two partially installed versions or your system is having a "bad day". Please send the output of the command:

swlist -l fileset -a software_spec PROD

and replace PROD in the above with the duplicated product. We should be able to figure out what is going on from that.