Earlier today a friend was going through my command prompt to see if I had certain things installed. He ran
$ sudo apt-get dist-upgrade
and cancelled (Ctrl^C) it after ~30 minutes because it was taking too long
When I get home and turn on my laptop, the regular background doesn't load, the mouse won't move, and it disconnects from the internet. When I log on, the screen freezes, displays "A system error has occurred", and returns to login screen.
I've tried the following suggestions in this page but none of them have worked: Ubuntu gets stuck in a login loop
I cannot run any sudo apt-get commands because I cannot connect to the internet
As per that page's suggestion, I looked into .xsession-errors, and it appears that a whole whack of processes are killed by a TERM signal: indicator-sound, unity-settings-daemon, logrotate, indicator-bluetooth, indicator-power, datetime, session, and several others. (I would upload a photo but it's >2mgBs) What could be causing all these term signals??
One of the final suggestions on the page is to "re-install ubuntu". My main goal is to not lose any of my files, so if I do have to re-install ubuntu, how can I safely do it?
I know this is a big question but I also haven't slept in a couple days so I'm just trying to get some suggestions in total for the morning. In the worst case I'll bring it to someone who knows what they're doing.