The problem in line 16 obviously is in "PATCH{7]" which has wrong
brackets.

Tho it needs to be fixed in /usr/src/nvidia-340-340.108/dkms.conf
instead which is the source for the mentioned file in the build tree.

If you already successfully installed the version where the patch didn't
apply, you will most probably need to remove and unbuild the module to
try the build again.

Something like:

dkms remove -m nvidia-340/340.108 -k all
dkms unbuild -m nvidia-340/340.108 -k all
dkms install -m nvidia-340/340.108 -k all

should do the trick. Not tested tho, just our of my memory

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1872950

Title:
  Nvidia 340.108 fails to install with kernels 5.5 onward

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1872950/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to