0

Since the last update of my nvidia drivers on Ubuntu (15.04, 64 bit), I get a black screen when logged in Ubuntu.

A second monitor does not help.

Choosing the recovery mode on Grub doesn't help because:

  1. Choosing different options on failesafeX does not change anything.

  2. Choosing the dpkg option doesn't repair anything.

  3. Going to the root shell prompt is useless: I can't use apt-get install or purge because the administration directory is locked.

I don't have a DVD of 15.04 and I don't want to reinstall everything. What are my options?

2 Answers2

0

Ctrl + Alt + F3 to a shell before logging in. Login on the shell and update/upgrade.

answer #1 if it doesn't work

If it's still not working, sudo rm /var/lib/dpkg/lock should allow apt-get to return to normal use.

Once that is sorted, try purging the nvidia drivers and install xserver-xorg-video-nouveau. How can I uninstall a nvidia driver completely ?

su do
  • 81
0

Reboot your machine and press and hold SHIFT until Grub menu shows up. Select the second option Enhanced Options for Ubuntu and then second option ... (recovery mode) again.

In Recovery Menu choose root and type mount -o remount,rw / to remount the filesystem with read AND write permissions.

Now you can proceed purging the nvidia drivers. Run dpkg -l | grep nvidia | grep -v nvidia-common to see a list of all packages. Run `apt-get remove --purge ' with all the packages from above.

Germar
  • 6,537