View Single Post
Old 03-30-12, 11:34 PM   #10
Registered User
leigh123linux's Avatar
Join Date: Feb 2008
Posts: 163
Default Re: Bug in installation skript of nvidia-driver-295.33 for install with kernel 3.3

Originally Posted by jdmcdaniel3 View Post
So, if you do a list of commands, the --apply-patch it is not there. I did not get the installer to accept the patch file when I try the command:

sh ./ --apply-patch NVIDIA-295.33.patch
I got the following error message:

can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|Index: NVIDIA-Linux-x86-295.33/kernel/
|--- NVIDIA-Linux-x86-295.33.orig/kernel/
|+++ NVIDIA-Linux-x86-295.33/kernel/
Now if you use this text file with the patch command it works fine, but you have to extract all of the files from the nVIDIA archive into separate files. How can you use this valid patch file to patch an internal file of the nVIDIA driver and still have an installable all in one single file, just like the original? First off, I appreciate your help, but need exact instructions from someone that actually made it work.

Thank You,
The patch needed a small edit


curl -o nvidia_295_33_for_3.3_err.patch
./ --apply-patch nvidia_295_33_for_3.3_err.patch
leigh123linux is offline   Reply With Quote