0

I am installing Nvidia driver 340 in ubuntu 18.04 but i got this error

dpkg-divert: error: rename involves overwriting '/usr/lib/x86_64-linux- 
gnu/libGL.so.1.distrib' with
different file '/usr/lib/x86_64-linux-gnu/libGL.so.1', not allowed

Thanks in advance

  • Do not use the binaries downloaded from Nvidia. You can install it directly from the Ubuntu repositories. – GabrielaGarcia May 14 at 19:13
  • Same thing happened sir i run sudo ubuntu-drivers autoinstall still I got this dpkg error – Boni May 15 at 3:25
  • It may not solve it but try sudo apt purge Nvidia* to clean up and then autoinstall or directly at Additional Drivers. – GabrielaGarcia May 17 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.