Operating System - HP-UX
1825795 Members
2288 Online
109687 Solutions
New Discussion

Re: uninstall committed patch

 
SOLVED
Go to solution
V. V. Ravi Kumar_1
Respected Contributor

uninstall committed patch

hi all,

i want to install PHKL_16433 on hp-ux 11.00 machine. but a superceded patch PHKL_20333 is already installed on the machine. when i try to uninstall PHKL_20333, it is saying this patch is committed and can not uninstalled. is there any way to uninstall committed patch.

i was suggested to install PHKL_16433 to test the performance of one of our application.

thanks in advance
ravi
Never Say No
7 REPLIES 7
David Burgess
Esteemed Contributor

Re: uninstall committed patch

I don't think you can. Surely the newer patch is better to have.
Why do you need to install the older patch.

Regards,

Dave.
Clemens van Everdingen
Honored Contributor

Re: uninstall committed patch

Hi,

As far as I know it's not possible to remove a committed patch !

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Jeff Schussele
Honored Contributor

Re: uninstall committed patch

Hi Ravi,

Appears someone has ran the cleanup script - which removes the files needed to remove the patch.
Must have needed the /var/adm/sw/save space at some time in the past.
Think you're out of luck.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
hpuxrox
Respected Contributor

Re: uninstall committed patch

I always run a backup of /var/adm/sw/save before and after a cleanup. I you cannot recover this directory there is nothing you can do.
Jeff Schussele
Honored Contributor

Re: uninstall committed patch

Ravi,

You could try reinstalling the newer patch - you'll have to force the reinstall.
You may be able to remove it then. But as in all uninstalls - watch out for dependencies.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor
Solution

Re: uninstall committed patch

Hi Ravi:

The superceded patches are always better and safe. There can be issues in future if you remove them and replace with an older one. However if you really needs to remove the committed patch, then check this document and steps (TKB #UPATCKBRC00007112):

http://us-support.external.hp.com/cki/bin/doc.pl/sid=328e5451142976fcf9/screen=ckiDisplayDocument?docId=200000058669775

HTH,
Shiju

Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: uninstall committed patch

Not sure why you would want to install an older patch that was superseeded. Anyway this is how you can remove a "committed" patch.

SD makes rollback copies of all files and archive library objects modified in var/adm/sw/save. If the patch is "committed" these copies are removed from /var/adm/sw/save. So the only way you can remove "committed" patch is to install from backup ..
1) Restore /var/adm/sw/save/PHKL_20333
2) Run ..
# cleanup -s
===> Modify the patch state so that it will be modified to either "superseded" or "applied".
3) Now swremove it.