Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uninstalling Kernal patch

Status
Not open for further replies.

kporeddy

IS-IT--Management
Sep 7, 2001
49
0
0
US
Hi,

Can any one help me, How to uninstall kernal patches on solaris 8 ?

Thanks
 
You have to back the patches out. Will the system boot, if not where is stopping at. If the system will boot then boot it up and go to the patch directory /var/sadm/patch. Find the patch and do patchrm patch number. If it is a patch cluster then you may want to use a for loop something like this.

for files in `ls -l /var/sadm/patch |grep "date(this what date you installed like Mar 20|nawk '{print $9}' the nawk will print the last field which is the patch number. Let me just give you an example using March 20th.

for files in `ls -l /var/sadm/patch|grep "Mar 20"|nawk '{print $9}'
do
patchrm $files
done

That script will take all patches installed on March 20 and remove them. You just need to make sure that there was nothing installed on March 20 in another year, probably not with Solaris 8 but check anyway because it will get those too. So you would have to reinstall those.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top