cd /var/lib/dpkg/info/
nano nvidia-387.postinst
# go to line ~208 in file 'nvidia-387.postinst' and change $KERNELS to $CURRENT_KERNEL and save
dpkg-reconfigure nvidia-387
NVIDIA dkms kernel modules re-compiled without a problem. not sure if optimus working for me yet though
Try this:
sudo add-apt-repository ppa:graphics- drivers/ ppa opencl- icd-387 nvidia-settings
sudo apt update
sudo apt-get install nvidia-387 nvidia-387-dev nvidia-modprobe nvidia-
cd /var/lib/dpkg/info/ 387.postinst' and change $KERNELS to $CURRENT_KERNEL and save
nano nvidia-387.postinst
# go to line ~208 in file 'nvidia-
dpkg-reconfigure nvidia-387
NVIDIA dkms kernel modules re-compiled without a problem. not sure if optimus working for me yet though