LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   got the error while patching the file using patch command (https://www.linuxquestions.org/questions/linux-general-1/got-the-error-while-patching-the-file-using-patch-command-793962/)

amit_pansuria 03-08-2010 07:48 AM

got the error while patching the file using patch command
 
Hello I m using RHEL 4.7
When follow the below step for patching the file

diff file1 file2 > patchfile.patch

patch -p0 file1 < patchfile.patch

but I got the following error after that

Reversed (or previously applied) patch detected! Assume -R? [n]

I dont know what happen here

Kernel version is:

2.6.9-89.0.20.ELsmp

patch version is:

patch-2.5.4-20

Can any one know what the issue

Regards,
Amit P

TB0ne 03-08-2010 10:25 AM

Quote:

Originally Posted by amit_pansuria (Post 3890174)
Hello I m using RHEL 4.7
When follow the below step for patching the file

diff file1 file2 > patchfile.patch

patch -p0 file1 < patchfile.patch

but I got the following error after that

Reversed (or previously applied) patch detected! Assume -R? [n]

I dont know what happen here

Kernel version is:
2.6.9-89.0.20.ELsmp

patch version is:
patch-2.5.4-20

Can any one know what the issue

Yes, RedHat support probably does. Since you're using RHEL, did you call them?

And did you read what you posted? You're running 2.6.9 kernel, and trying to patch it to 2.5.4. Google points out lots of info on this error message, indicating that you're reversing the kernel level.


All times are GMT -5. The time now is 05:45 PM.