Operating System - HP-UX
1752654 Members
5479 Online
108788 Solutions
New Discussion юеВ

Re: How to remove corrupted and unconfigured s/ws

 
Gnananandhan
Frequent Advisor

How to remove corrupted and unconfigured s/ws

Please see the attached file. The list show some s/w were in corrupted state and some were in installed state. How to remove all these s/w.
I was getting such errors after installing PHKL_18543 and since then I was not able to build the kernel.

Thanks in Advance,
Gnana A.
If there is a better way to do it, find it !
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: How to remove corrupted and unconfigured s/ws


Theres no attachment. I think you need to repost it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Mateja Bezjak
Respected Contributor

Re: How to remove corrupted and unconfigured s/ws

Hi,

Software that is in installed state has to be configured (swconfig \*). All corrupted s/w should be removed. You can use swremove s/w_name

Here is a good thread about problems with installing PHKL_18543

Regards,
Mateja
Mateja Bezjak
Respected Contributor

Re: How to remove corrupted and unconfigured s/ws

Gnananandhan
Frequent Advisor

Re: How to remove corrupted and unconfigured s/ws

Attached the file.


If there is a better way to do it, find it !
Mateja Bezjak
Respected Contributor

Re: How to remove corrupted and unconfigured s/ws

Hi,

I would first remove all the software that is in corrupt state.
swremove PHCO_16489 PHCO_16490 PHCO_16491 PHCO_16492 PHCO_16493 PHCO_17316 PHCO_18124
PHCO_18125 PHCO_18126
PHCO_18127 PHCO_18128
PHCO_18129 PHCO_23262

Do they get removed OK? If you have no problems removing it, then try to configure the software in installed state. If you have any problems please post the swremove.log, swagent.log and swconfig.log files.

Regards,
Mateja
Stefan Farrelly
Honored Contributor

Re: How to remove corrupted and unconfigured s/ws


For each of the filesets in an installed state you need to configure them. You can do all in one go by doing;


swlist -l fileset -a state|grep -v configur|grep installed|awk '{print $1}'>/tmp/tempfile

cat /tmp/tempfile | xargs swmodify -a state=configured

That will sort them out. For the corrupt ones Im not sure you will be able to remove them. You should try to reinstall them first. If you cant then try swremoving them. You may need to try doing swremove . (not the . at the end is important - this will try to simply removed the IPD database entry rather than the fileset itself). Once you have all filesets configured you can try your original install again.

Im from Palmerston North, New Zealand, but somehow ended up in London...