I got this exact error when I removed kernel 3.16.0-14-generic as I had 3 kernels installed. Although when that kernel was removed and when it was installed it gave an error like it didn't properly install the nvidia driver but this is what was in the output indicating that the driver was indeed successfully installed on both both the nvidia-331 module and nvidia-331-uvm. See the text file below.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1373498 Title: nvidia-331 331.89-0ubuntu5: nvidia-331 kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1373498/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs