I'll start from the beginning. I had Ubuntu 16.04 working fine for quite a time. Everything was working fine (I had a problem, that i still have, while bios don't find any bootable drive. But then I get a list, select the main one, and boots). SO THAT'S NOT THE PROBLEM.
Yesterday I decided to install Steam, everything worked fine. But when the installation was done, I couldn't open any folder. It said paths weren't found. Neither opening "dolphin" worked. So I said "A reboot will fix it!". But the reboot were the end. Since that moment, I can't get my laptop to work. It starts as always, but when it gets to "Ubuntu Logo Screen", it gets stuck. Logo fading in and out forever. I tried to fix it in different ways. And I've come to this point:
I'm in the root konsole. I got here from "Recovery mode".
$ sudo apt-get upgrade 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do ou want to continue? [Y/n] Setting up lightdm (1.10.6-0ubuntu1) ... dpkg: eeror processing package lightdm (--configure): subprocess installed post-installation script returned error exit status 1 lightdm E: Sub-process /usr/bin/dpkg returned an error code (1)
Then, I tried to purge and reinstall lightdm
through:
$ sudo apt-get purge lightdm It works without problems. But then, sudo apt-get install lightdm pops out a screen of package configuration with two options: lightDM and lightdm. I've tried both, and both gave me Errors were encountered while processing: lightdm E: Sub-process /usr/bin/dpkg returned an error code (1)
At some point, I also got E: Package 'whatever i tried to install'
has no installation candidate.
I don't know what to do. At this point my laptop doesn't work at all. It's a Acer e5-571g-56t1