Seems like the current HWE and LTS kernels have NOT been updated to the version of GCC that Bionic Updates is now pushing which is
7.4.0-1ubuntu1~18.04. This is a nightmare for manual Nvidia driver installation because the GCC versions have to match exactly.
No word on if new kernels will be built on the new version from
bionic-updates to correct this issue, so if you’re still on
7.3.0-16ubuntu3, DO NOT UPDATE if you run Nvidia at all. Hold gcc, cpp, g++, gcc-7, cpp-7, and g++-7.
If it’s too late, run your Nvidia installer with
-A to list arguments you can run the installer with. Most likely the one you want is
If you’re running KDE or Kubuntu, let
gcc-8 update, because what you care about is
gcc --version being
gcc-8 will break all KDE components, and on Kubuntu, break
apt, so DO NOT HOLD
gcc-8 if you run Kubuntu 18.04.