Roll back latest Solaris Patches


 
Thread Tools Search this Thread
Operating Systems Solaris Roll back latest Solaris Patches
# 1  
Old 01-27-2011
Roll back latest Solaris Patches

Is there an easy way to roll back or uninstall the latest Solaris patch cluster? I'm hoping I don't have to go into each patch that was applied and uninstall them one-by-one.


Thanks!

Last edited by bluescreen; 01-27-2011 at 05:15 PM.. Reason: i type like a monkey on rock!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Roll back the code

Hi is there any shell script to roll back the code when the code is deployed in a wrong way in production servers (3 Replies)
Discussion started by: Purushotham
3 Replies

2. Red Hat

Roll back patches for RHEL 5

Hi, I want to roll back the packages that are installed during the patch installation of RHEL 5 server. There are in all 110 packages including the kernel package... kernel-2.6.18-274.el5.x86_64.rpm kernel-headers-2.6.18-274.el5.x86_64.rpm How should I proceed ? I don't want to run rpm... (4 Replies)
Discussion started by: aksijain
4 Replies

3. Solaris

Solaris 10 Patches

Can anyone link me to where I can get solaris 10 patches, since now sunsolve.sun.com redirects to some useless oracle support page? (1 Reply)
Discussion started by: goodvikings
1 Replies

4. Solaris

Solaris Patches

Hello all, I wanted to check in Solaris 10 machine whether it has got all the required patches . Is there any way to find out. Rgds Rj (6 Replies)
Discussion started by: jegaraman
6 Replies

5. Solaris

Solaris patches

Hi Friends... can some one tel me any tool for analysing patch on solaris, then download n install it wit all dependency patches???? (3 Replies)
Discussion started by: sudhan143
3 Replies

6. Solaris

Patching Roll-back

What is the easiest or preferred way to roll back the solaris cluster patches? My guess is to do a flash archive pre-patch and then install off of that if it doesn't work. Any other ideas? (4 Replies)
Discussion started by: adelsin
4 Replies

7. HP-UX

Latest patches for HPUX 11

Hello, We have server: :41> model 9000/800/L2000-36 :42> uname -a HP-UX myserver B.11.00 U 9000/800 For which we need to patch but I don't know how to determine wich patches to apply and how to do it. Can someone give me a hand? Thank you!! (3 Replies)
Discussion started by: AQG
3 Replies

8. Solaris

Solaris Patches

Is there any way to show the patches that have been installed in what order, or by date? For example, we have servers, we run the sun patch cluster on them every so often. but then we have some 1zee 2zee's which id like to identify. do i ahve to go into each directory and look at time stamps?... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

9. Shell Programming and Scripting

Roll back problem

Hi, I have 5 sub processes which are updating and commiting different records of a single table.I have a problem here.I want to rollback all the transaction if any one of processes fails.Can any one of you gurus suggest how to go about it ? Thanks Tushar Johri (3 Replies)
Discussion started by: tushar_johri
3 Replies
Login or Register to Ask a Question
XDIFF_FILE_PATCH(3)							 1						       XDIFF_FILE_PATCH(3)

xdiff_file_patch - Patch a file with an unified diff

SYNOPSIS
mixed xdiff_file_patch (string $file, string $patch, string $dest, [int $flags = DIFF_PATCH_NORMAL]) DESCRIPTION
Patches a $file with a $patch and stores the result in a file. $patch has to be an unified diff created by xdiff_file_diff(3)/xdiff_string_diff(3) function. An optional $flags parameter specifies mode of operation. PARAMETERS
o $file - The original file. o $patch - The unified patch file. It has to be created using xdiff_string_diff(3), xdiff_file_diff(3) functions or compatible tools. o $dest - Path of the resulting file. o $flags - Can be either XDIFF_PATCH_NORMAL (default mode, normal patch) or XDIFF_PATCH_REVERSE (reversed patch). Starting from version 1.5.0, you can also use binary OR to enable XDIFF_PATCH_IGNORESPACE flag. RETURN VALUES
Returns FALSE if an internal error happened, string with rejected chunks if patch couldn't be applied or TRUE if patch has been success- fully applied. EXAMPLES
Example #1 xdiff_file_patch(3) example The following code applies unified diff to a file. <?php $old_version = 'my_script-1.0.php'; $patch = 'my_script.patch'; $errors = xdiff_file_patch($old_version, $patch, 'my_script-1.1.php'); if (is_string($errors)) { echo "Rejects: "; echo $errors; } ?> Example #2 Patch reversing example The following code reverses a patch. <?php $new_version = 'my_script-1.1.php'; $patch = 'my_script.patch'; $errors = xdiff_file_patch($new_version, $patch, 'my_script-1.0.php', XDIFF_PATCH_REVERSE); if (is_string($errors)) { echo "Rejects: "; echo $errors; } ?> SEE ALSO
xdiff_file_diff(3). PHP Documentation Group XDIFF_FILE_PATCH(3)