0

That's the error I got when Im trying to install nvidia driver As shown in the picture I have held broken packages. ''' sudo apt autoremove''' didnt help. broken packages are related to different versions of nvidia driver

saleh
  • 101
  • Remove the previous NVIDIA driver first. Make sure to run `sudo apt autoremove` after removing the driver. – Terrance Apr 08 '20 at 16:21
  • Does this answer your question? [Unable to correct problems, you have held broken packages](https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages) – karel Apr 08 '20 at 16:27

1 Answers1

0

First we need to do this:

'''sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk '{print $2}')'''

then

'''sudo apt autormove'''

saleh
  • 101