For what its' worth, I built the nvidia-340_340.108-0ubuntu5 package (includes patches to go up to kernel 5.9 apparently) on Focal20.04 -- just using the groovy-updates version and renumbering it back to 20.04.0test0 instead of a 20.10. version.
The full source and set of debs is here:- https://www.iremonger.me.uk/noidx/nvidia-340-focal/ You only seem to need the 'nvidia-340' deb [ https://www.iremonger.me.uk/noidx/nvidia-340-focal/nvidia-340_340.108-0ubuntu5.20.04.0test0_amd64.deb ] for basic usage of the driver, but the full set of debs and source package is provided above. This appears to solve the build and install problem on 20.04 based system, with ubuntu kernel 5.8 series installed. By all means use and test this if you like, I hope ubuntu-devs will put the same or equivalent into focal-proposed and focal-updates very soon!. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1910709 Title: DKMS linux-headers-5.8.0-34-generic update brokes nvidia-340 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1910709/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs