I've upgraded from ubuntu 12.04 to 14.04. There were display driver issues and I could only work in a terminal. I have installed the nvidia drivers from here. During the installation there seemed to be some conflicts with the existing installations nvidia-304* and was prompted to remove them and install the new drivers instead. Now, when I reboot the nvidia logo flashes a few times then nothing happens; there is a cursor on the top left of the display.
Ctrl + Alt + F1
does not produce any result. I have dropped into the recovery mode root console and have tried to remove all nvidia installations by running:
sudo apt-get autoremove nvidia-304* sudo apt-get --purge remove nvidia-304*
The following is displayed:
W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt E: The package lists or status file could not be parsed or opened.
Also, networking is disabled. How is it possible to reinstall the drivers?