the Ubuntu 20.04 automatic updater (software updater) asked me to allow to install updates.
I agreed to update, but at 70% an error appeared.
I didn't pay attention to it, but after I put the PC to sleep and then turned it back, I ended up being asked for my password, entering it, but it comes back to ask for my password indefinitely.
I have read online and dealt with the permissions of files, but it seems it's not due to those.
I believe it's due to the Nvidia Graphics Drivers.
The recommended driver for my PC seems to be nvidia-340
My video card is GeForce GT220.
I cannot install nvidia-340 in the usual way using sudo apt-get install : I get "errors were encountered while processing: nvidia-340". I believe this is due to the linux kernel I have.
What could I possibly do? Please help me!
I can log-in via xfce4-session (at login time, I press the ubuntu logo and press the 3rd option : xfce4-session).
EDIT: I can get an nVidia-340 .run file by using the tutorial from https://www.youtube.com/watch?v=9m972Op8BWU&t=187s&ab_channel=if-not-true-then-false.com
I can run it and I successfully installed it.
When writing sudo apt-cache policy nvidia-340
, I do get the Installed
word appearing in the output.
But still, I cannot log in in the usual way.
What shall I do?
Thank you!