Operating System - HP-UX
1832251 Members
2707 Online
110041 Solutions
New Discussion

Duplicate software bundle entries on swlist

 
Akihiro Noma
Contributor

Duplicate software bundle entries on swlist

We just upgraded our K20 box's OS version from 10:20 to 11.00. After completing OS upgrade, I noticed that the duplicate software entries, one from OS 10.20 and the other from 11.00 showed up on swlist listing like below:
B3900AA_APZ B.10.20.03 HP C/ANSI C Developer's Bundle for HP-UX 10.20 (S800)
B3901BA B.11.02.02 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S800)

How can I get rid of one from 10.20? Is it safe to use SWREMOVE or should I use SWMODIFY?

Thnaks for your help!

Aki
Greetings from Beautiful Oregon!
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: Duplicate software bundle entries on swlist

Hi:

'swremove' is used to remove products or patches from the IPD.

...JRF...
Steffi Jones_1
Esteemed Contributor

Re: Duplicate software bundle entries on swlist

Hello ,

you can check if you have a ".2" directory for the product in /var/adm/sw/products

check the INDEX file in that .2 directory and check if it indicates if it is 11.0 or 10.20 version.
Keep the directory with the 11.0 rev. in /var/adm/sw/products and get rid of the .2 at the end.

Then you can redo the IPD with the following steps:

1) mv /var/adm/sw/products/INDEX to INDEX.old
2) vi void.psf
with

product
tag void
fileset
tag void
3) swpackage -s ./void.psf
4) swinstall void
5) swremove void
6) rm -r /var/spool/sw/void
7) rm void.psf

That will recreate a new IPD.

Good luck,

Steffi Jones