Eu tentei atualizar o CUDA de 8.0 para 9.1, mas recebi o seguinte erro no Ubuntu 16.04.
Removing nvidia-prime (0.8.2) ...
mv: cannot move '/etc/X11/xorg.conf' to '/etc/X11/xorg.conf.04222018': Operation not permitted
dpkg: error processing package nvidia-prime (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
nvidia-prime
E: Sub-process /usr/bin/dpkg returned an error code (1)