Operating System - HP-UX
1827293 Members
2510 Online
109717 Solutions
New Discussion

Re: problem with swpackaged software on some systems

 
SOLVED
Go to solution
Eileen Millen
Trusted Contributor

problem with swpackaged software on some systems

We have some software that we swpackage and install on systems. The software installs successfully and works on all systems. After a while on a few systems, we get the message below when we do a swlist.
Does anyone know why this happens?
The software still works, but the swlist thinks that there are problems.

hplogin1 $ swlist -l fileset X11
# Initializing...
# Contacting target "hplogin1"...
WARNING: Incomplete definition for the product "EMACS", beginning at
line 16538. The following attributes are not defined:
filesets the filesets contained in the product

Thanks for any input
Eileen
3 REPLIES 3
Mladen Despic
Honored Contributor

Re: problem with swpackaged software on some systems

Eileen,

Did you specify filesets when you packaged your software with swpackage? If not, then the '-l fileset' option will not produce any results.

You can try 'swlist -l product ... ' instead, or, if you want, you can re-package your software with the appropriate fileset definitions in your "product specification file"

Check this link for more information:

http://www.docs.hp.com/hpux/onlinedocs/B2355-90154/00/00/43-con.html

Mladen
S.K. Chan
Honored Contributor
Solution

Re: problem with swpackaged software on some systems

There is something in the IPD (install product database) , typically in /var/adm/sw/products/X11//INDEX or /var/adm/sw/products/X11/INDEX that does not agree with the fileset EMACS. When you package the software, is it correctly defined ? I'm not even sure if rebuilding the INDEX file (at the highest level /var/adm/sw/products/INDEX) would help because if the INDEX file for the individually installed software is not correct then the main INDEX file would not be good too. Ok .. you said "a few system..", take a look at the system that does not have the error, do they have the same definition. Another possible solution is to reinstall your package (choose reinstall even if fileset exists) so that it rebuild your IPD.
Eileen Millen
Trusted Contributor

Re: problem with swpackaged software on some systems

Thanks for your replies.
The INDEX file was corrupt.
I copied it over to a test system and got the same error. Then I deleted
/var/adm/sw/products/INDEX
when I installed a patch, the INDEX file got recreated and the problem is gone.