Operating System - HP-UX
1825693 Members
3268 Online
109686 Solutions
New Discussion

Re: Refresh swlist state information?

 

Refresh swlist state information?

A software package has been installed using ".INSTALL w/swinstall". The software is installed properly, and functions correctly. However "swlist -l fileset -a state | grep -e corrupt" reports it as corrupt.

How can the state data be refreshed or updated to show that the software is properly installed?
3 REPLIES 3
James A. Donovan
Honored Contributor

Re: Refresh swlist state information?

If you don't want to re-install it and you're positive nothing is really corrupt, then you may be able to use the swmodify command

# swmodify -a state=configured PRODUCT.FILESET

....see the man page on swmodify
Remember, wherever you go, there you are...
James R. Ferguson
Acclaimed Contributor

Re: Refresh swlist state information?

Hi Susan:

I wonder if you have installed what you think you do. By definition a 'corrupt' software state indicates that the 'swcopy' or 'swinstall' operation failed during the execution phase; and that the software is in an "unknown" state and should not be used.

I would reinstall the software and toggle 'reinstall=true'.

Regards!

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

Re: Refresh swlist state information?

When I get that, I swremove the software and then swinstall again.

If it comes up corrupt again, I pitch the software and try and solve the problem some other way.

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