Looks like it's already been fixed in xenial-proposed**. As a workaround until the new version appears in the main repos, open a terminal (Ctrl + Alt + T) and type:
# Add xenial-proposed source: echo "deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main multiverse universe" \ | sudo tee /etc/apt/sources.list.d/xenial-proposed.list sudo apt update # Install the updated package: sudo apt -t xenial-proposed install nvidia-340 # Remove xenial-proposed source: sudo rm /etc/apt/sources.list.d/xenial-proposed.list sudo apt update Hope that helps, Martin ** see https://launchpad.net/ubuntu/+source/nvidia-graphics- drivers-340/340.104-0ubuntu0.16.04.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1741671 Title: nvidia-340 340.102-0ubuntu0.16.04.2: nvidia-340 kernel module failed to build [nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!"] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1741671/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs