1753267 Members
5111 Online
108792 Solutions
New Discussion юеВ

Remove Corrupt Fileset

 
Wilder Mellotto
Frequent Advisor

Remove Corrupt Fileset

Hi,

When I run a command swlist -l fileset -a state one fileset is corrupt, and this messages appears:

swlist -l product -a state
ERROR: Duplicate definition for fileset "PROG-AX-64ALIB", beginning at line 111862. A fileset with the same version attributes is already defined in the product "PHSS_35287".
Duplicate fileset has been marked as corrupt, and its tag attribute changed to "_fileset_111862".

WARNING: Errors encountered in the contents defined for the product "PHSS_35287", beginning at line 111416. Details described above.

I reinstalled the patch, but doesn't work.

Please, any ideas?
9 REPLIES 9
Sajjad Sahir
Honored Contributor

Re: Remove Corrupt Fileset

Dear friend

u can remove the corrupted fileset by using
swremove, and reinstall again by using swinstall

thanks and regards

Sajjad Sahir
James R. Ferguson
Acclaimed Contributor

Re: Remove Corrupt Fileset

Hi:

Try reinstalling the patch, but add '-x reinstall=true -x reinstall_files=true'.

Regards!

...JRF...
Wilder Mellotto
Frequent Advisor

Re: Remove Corrupt Fileset

I tried to remove the patch, but I can't. Please, see the log attached.

If I run swacl -l host, everything is normal. When I reinstall the patch with reinstall=true, works fine, but the corrupt state still there.
Dennis Handly
Acclaimed Contributor

Re: Remove Corrupt Fileset

PHSS_35287 should be too simple and unimportant to fail in this way.

Since swremove fails, I might be tempted to remove PHSS_35287 with swmodify, after backing up the IPD first with ignite.
What happens if you try swremove again?

You may want to contact the Response Center.
Wilder Mellotto
Frequent Advisor

Re: Remove Corrupt Fileset

Plase, check this attached file. check_patches.

This is important?
Dennis Handly
Acclaimed Contributor

Re: Remove Corrupt Fileset

>This is important?

Your IPD is corrupted. You should restore from an ignite backup.

This is bogus:
The following HP-UX 10.X patches remain in the IPD:
PHSS_35287 Support 64-bit version of libhppa

This seems to be the error:
ERROR: Patch fileset PHSS_35287.C-ENG-A-MAN is missing the INFO
Another patch is also bad.
Wilder Mellotto
Frequent Advisor

Re: Remove Corrupt Fileset

Hi Dennis, how can I restore this IPD or create a new one?

I only had 2009 ignite tapes, and this corruption appears in swagent.log in 2007.

I don't have any good ignite tape.

Could I fix this problem?
Tingli
Esteemed Contributor

Re: Remove Corrupt Fileset

If you have more than one system, then you can try to get the patch from other systems.
Dennis Handly
Acclaimed Contributor

Re: Remove Corrupt Fileset

>how can I restore this IPD or create a new one?

From a backup. Otherwise you have to scratch the system and cold install. :-(

>I only had 2009 ignite tapes, and this corruption appears in swagent.log in 2007. I don't have any good ignite tape.

So you are left with kludges.
If you have a support contract, I would suggest you start with contacting the Response Center to see what they can do.

>Could I fix this problem?

I'm not sure. I can think of two methods:
1) Use swmodify -u to remove the bad patch.
2) Try to rebuild the IPD.

In either case you should first backup /var/adm/sw/, in case it makes it worse.

Some threads for 2):
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1270865
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1199366
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1174176
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1172526
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1125666
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1088964
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1034875
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=999670
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=956018
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=869078
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=793987
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=428627
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=219287
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=9945
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=89395

threadId=1125666 seems to imply that all you need to do is:
# swmodify -a state=configured OS-Core.Q4