CUDA 10.1 on Ubuntu 18.04 problem

I’m facing this problem as well and tracked it down to DPKG crashing when it tries to compile the included 418 driver - it is specific to the shipped driver - if I use the driver off the site nividia-418-418, it compiles but CUDA fails to recognize it (are you freaking kidding?! Get your sh!t together nvidia - every cuda package has something seriously wrong with it.)