1834931 Members
2578 Online
110071 Solutions
New Discussion

executing swremove

 
SOLVED
Go to solution
Jairo Campana
Trusted Contributor

executing swremove

Hello , try remove the patch in state corrupt, the swremove finish successfully , when execute swlist -l fileset -a state |grep corru the ouput is :
PHCO_29382.UUCP corrupt
PHSS_33901.CORE-64SLIB corrupt
PHSS_33901.CORE-SHLIBS corrupt
PHSS_33901.LANG-64ALIB corrupt
PHSS_33901.LANG-MIN corrupt
legionx
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: executing swremove

Shalom Jairo,

I would suggest re-installation of these two patches instead of swremove. They probably are dependencies on these patches preventing proper removal.

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
R.KrishnaKumar
Frequent Advisor

Re: executing swremove

Hi Jairo,

Normally the fileset with the dependancy are not removed. you should now reinstall the dependancy patches.

regards,
Krishna
Chauhan Amit
Respected Contributor

Re: executing swremove

Here are the steps you can follow to remove the same:

Step #1 :The solution is to remove the patch from the IPD (Installed Products Database). Before making modifications be sure a good backup of /var/adm/sw has been created in case any modifications need to be backed out.

Step #2 :Create a directory in /tmp called patch_mods. The directory can be in /home or anywhere else except for /var/adm/sw.

Step #3 :Change directories to /var/adm/sw/products.

Step #4 :For each patch found to be in the corrupt state , copy the directory with the name of the patch from /var/adm/sw/products to /tmp/patch_mods.

Step #5 :Run swmodify -a state=configured OS-Core.Q4 to force a build of the IPD. The new IPD will not list the transient patches.

Step #6 :Run swlist -l fileset -a state. The patches whose directories were moved prior to the IPD rebuild should not be listed.

Step #7 :Run swinstall to install the patches again. The reinstall option of swinstall does not need to be on.


Hope this helps.

-Amit
If you are not a part of solution , then you are a part of problem