5

I completely messed up my things, I was using ubuntu 14.10, yesterday I was updating it and during the installation my laptop got switched of as it ran out of battery and then I do not know what exactly happened, now when I switch it on all I get is a black screen with cursor blinking there, I am not that good with softwares as I am a medical student and have many important file there which I definitely do not want to loose so please let me know if this can be fixed or not I do not want to loose my things there... And by reading many post I tried doing some things on my own so I used:

Ctrl+Alt+F1 

and then on my black screen I this little explanation about ubuntu there help site and then this error:

E: Error: BrokenCount > Orun-parts: /etc/update-motd.d/90-updates-available exited with return code 255

Please help:(

Braiam
  • 69,112

1 Answers1

13

Such a situation can come if the installation is stopped midway. Good news is that all your files are safe there. Also, during update all the required files were already downloaded to your laptop (otherwise installation would not have started.)

So, now you just need to complete the installation process. First, Ctrl+Alt+F1 (or F2, f3, f4 anyone is fine.) Then you would reach the linux console. Login with your username and password there. Then issue the following command:
sudo dpkg --configure -a

This should complete your update and your system should be back up after a reboot. If the above gives errors of broken packages, issue the below command:
sudo apt-get install -f

And then run the above command again.

P.S: Did you really mean Ubuntu 14.10 ? That's an alpha-release software, NOT meant to be used for daily use. You must switch to 14.04 as soon as possible.

Ashish
  • 963