I have an issue with my Ubuntu 18.04 Desktop system. I had installed virtualbox
and vagrant
and all was working fine. However, a couple days later, I opened my PC, reached to the login screen, but keyboard and mouse were not working at all. I restarted couple of times, but nothing.
I went to recovery mode and then to root
shell. I tried doing:
sudo apt update
sudo apt upgrade
sudo apt update --fix-missing
sudo add-apt-repository ppa:graphics-drivers/ppa
This gave this error:
cannot add PPA: 'ppa:~grahics-drivers/ubuntu/ppa'.
ERROR:'~graphics-drivers' user or team does not exist.
I got this same "user or team doesn't exist" error on many commands. No resolv.conf
file found.
One of the questions I found trying to solve my issue had an answer suggesting to use this command:
sudo apt purge nvidia-*
I ran this, and then it said to do:
sudo add-apt-repository ppa:graphics-drivers/ppa
Then the same error was shown:
cannot add PPA: 'ppa:~grahics-drivers/ubuntu/ppa'.
ERROR:'~graphics-drivers' user or team does not exist.
I rebooted the PC with init 5
and I was able to login, but now, after I login and the account opens, the keyboard and mouse are again not working. Now they are working only for login and mouse works before login only. Recovery mode console is getting of no use.