like some of you, the latest updates broke my shinny LMDE, because I was using Nvidia proprietary drivers, and was too stupid to notice that the update was going to remove them! Damn.
So after the next reboot, I'm stuck with a black screen asking me to login...
I did some research on the Internet and found out that it's still possible to reinstall packages if the ".deb" files are still on the system, even an older version. I also checked the history in Synaptics to know what packages have been upgraded before the breakage.
Here is a list of files and versions you have to "restore".
Then you'll be able to reinstall:
Now, all the installed packages (and all versions) are supposed to be stored in "/var/cache/apt/archives", so if you are stuck at the black screen, do the following (change the "i386" in the commands below if you use a 64 bit system):
- Login with the usual username
- type "cd /var/cache/apt/archives"
- type "sudo dpkg -i libgl1-mesa-glx_7.10.2-3_i386.deb"
- type "sudo dpkg -i libglu1-mesa_7.10.2-3_i386.deb"
- type "sudo dpkg -i mesa-common-dev_7.10.2-3_i386.deb"
- type "sudo dpkg -i xserver-common_2%3a1.10.2-1+wheezy1_all.deb"
- type "sudo dpkg -i xserver-xorg-core_2%3a1.10.2-1+wheezy1_i386.deb"
- type "sudo dpkg -i libgl1-mesa-dri_7.10.2-3_i386.deb"
- type "sudo dpkg -i libgl1-mesa-dev_7.10.2-3_i386.deb"
Once it's done, you can reinstall the Nvidia packages by typing:
- sudo apt-get install libgl1-nvidia-alternatives
- sudo apt-get install libgl1-nvidia-glx
- sudo apt-get install nvidia-glx
And X should restart automatically! Enjoy!
That was easy!