1834935 Members
2570 Online
110071 Solutions
New Discussion

swinstall corrupt

 
SOLVED
Go to solution
Eugene Klaus
Frequent Advisor

swinstall corrupt

I had a question concerning a corrupt swinstall index.
it was still open and i had been provided a work around as follows :
# cd /var/adm/sw/products
# mv INDEX INDEX.bad
# cd /tmp
# vi void.psf
product
tag void
fileset
tag void
:wq!
# swpackage -s /tmp/void.psf
# swinstall void
# swremove void
# rm void.psf
# swremove -d void

After following this procedure i still got the error as follows:

NOTE: The fileset "PHSS_26320.C-MIN,r=1.0" is a "sparse" or "patch" fileset which may only be installed upon a previously installed base fileset. The specification for the required base fileset is
"OS-Core.C-MIN,fr=B.11.00,v=HP". Since there is no fileset on the target or selected from the source which matches this specification, fileset "PHSS_26320.C-MIN,r=1.0" will be excluded.

Any ideas or response to this.
Please do not close until i am able to give points for answers given.
I have promises to keep and miles to go before I sleep and miles to go before I sleep
6 REPLIES 6
Mel Burslan
Honored Contributor
Solution

Re: swinstall corrupt

it looks like you are trying to install a patch which has a prerequisite. as you have emptied out your installed product database by this method you described above, the PHSS_26320 has no way to know that if you have the required prerequisite for it to be loaded hence it is failing.
________________________________
UNIX because I majored in cryptology...
Eugene Klaus
Frequent Advisor

Re: swinstall corrupt

Any suggestions as to getting around this???

I have promises to keep and miles to go before I sleep and miles to go before I sleep
Mel Burslan
Honored Contributor

Re: swinstall corrupt

you can try to disabe the "enforce dependencies" option in the options drop down menu, but I am not sure it it will help. It looks like it needs to know that you have the certain coreOS component installed, which you may have eliminated by nullifying the installed product database. But you sure can try. Also, you are aware that this is a 11.0 version only patch and you should not put it on 11i system. Right ?
________________________________
UNIX because I majored in cryptology...
Robert-Jan Goossens
Honored Contributor

Re: swinstall corrupt

Klaus,

I don't like to give you bad news, but someone removed all the patch/install information from /var/adm/sw directory. This means you have two options reinstall or use your backup.

The patch you are trying to install searches your system for information, this information is gone.

Best regards,
Robert-Jan
Marlou Everson
Trusted Contributor

Re: swinstall corrupt

I actually have some old documentation that says to do the steps you did to rebuild the INDEX file if it is corrupt. It should rebuild IPD from the directories in /var/adm/sw/products. Of course, if these directories are missing or incomplete, then that is really bad news.

Since you did this, have you done a swlist -l fileset to verify what you have. If OS-Core.C-MIN is not listed, then the patch is not going to install.

Marlou
Jan de Haas_3
Frequent Advisor

Re: swinstall corrupt

Did you try forcing an installation of this patch?

Also (force) installing a complete depot of PHSS_26320 and it's prerequisites may resolve the problem (though only at your own risk, so keep a full backup handy).