I have nvidia-520 installed for a while. After noticing that the packages have been kept back (don't know why), I tried to upgrade the driver from the "Software and Updates" GUI. Not possible, all options grayed out and a message reads "This device is using a manually-installed driver".
Then I tried to "sudo ubuntu-drivers autoinstall", and got the error "UnboundLocalError: local variable 'version' referenced before assignment" and to this bug report.
I have nvidia-520 installed for a while. After noticing that the packages have been kept back (don't know why), I tried to upgrade the driver from the "Software and Updates" GUI. Not possible, all options grayed out and a message reads "This device is using a manually-installed driver".
Then I tried to "sudo ubuntu-drivers autoinstall", and got the error "UnboundLocalError: local variable 'version' referenced before assignment" and to this bug report.