I'm not sure whether this is related to this bug but I was unable to install nvidia drivers because my default compiler was set to an older version as default (gcc 4.4). Setting the default back to 4.8 solved the problem and I was able to install the drivers.
I found this bug report because I got a similar error message when trying to manually install the proprietary nvidia drivers. When installing from the repos I didn't get an error message at all.
I'm not sure whether this is related to this bug but I was unable to install nvidia drivers because my default compiler was set to an older version as default (gcc 4.4). Setting the default back to 4.8 solved the problem and I was able to install the drivers.
I found this bug report because I got a similar error message when trying to manually install the proprietary nvidia drivers. When installing from the repos I didn't get an error message at all.