nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Wed Aug 3 10:21:38 2016 installer version: 367.35 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin nvidia-installer command line: ./nvidia-installer Unable to load: nvidia-installer ncurses v6 user interface Using: nvidia-installer ncurses user interface -> Detected 8 CPUs online; setting concurrency level to 8. -> License accepted. -> Installing NVIDIA driver version 367.35. -> Running distribution scripts executing: '/usr/lib/nvidia/pre-install'... -> done. -> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation) -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes) -> Installing both new and classic TLS OpenGL libraries. -> Installing both new and classic TLS 32bit OpenGL libraries. -> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes) -> Will install GLVND GLX client libraries. Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh executing: '/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh'... Checking for libglvnd installation. Checking libGLdispatch... Can't load library libGLdispatch.so.0: libGLdispatch.so.0: cannot open shared object file: No such file or directory Will install libglvnd libraries. -> Searching for conflicting files: -> done. -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (367.35): executing: '/sbin/ldconfig'... -> done. -> Driver file installation is complete. -> Installing DKMS kernel module: ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 367.35 -k 4.7.0-999-generic`: Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area.... 'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=4.7.0-999-generic modules.....(bad exit status: 2) ERROR (dkms apport): binary package for nvidia: 367.35 not found Error! Bad return status for module build on kernel: 4.7.0-999-generic (x86_64) Consult /var/lib/dkms/nvidia/367.35/build/make.log for more information. -> error. ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.