Ubuntu: Can not connect to internet and turn off computer after interrupting system update



Question:

Last Friday, I was using software updater to update some of my software, but halfway through, I realized I wouldn't have time to complete all of the updates. I unfortunately had to stop the updates halfway through, and then tried to shut down. However, when I tried to shut down, the dialog box for shut down wasn't able to be clicked, and after trying several things, I was forced to do a hard shut down.

Turning my computer on today, I was greeted with several "System Program Problem Detected" dialog boxes dancing around on the screen. They prompted me to report the problems, which I did. But now everything is messed up! There are no visible internet connections for me to connect to, the software updater closes automatically whenever I try to install updates, and I can't turn off my computer (whenever I click shut down, only the dialog box for logging out appears.) I don't know what happened, but I'm really concerned. Things I have tried so far:

sudo dpkg --configure -a  

Which seemed to resolve some issues, but not all. Then I tried:

sudo apt-get install -f  

Which tells me it it unable to fetch some archives, and I should try:

sudo apt-get update  sudo apt-get update --fix-missing  

Neither of which seem to resolve any issues.

Please, if you know anything about what might be going on, I would really appreciate the help.


Solution:1

I've interrupted an update (sudo apt-get dist-upgrade or an update during shut-down) multiple times by using Ctrl+C, but I've never tried doing a hard shut-down during an update, so I only see 2 solutions:

  1. This is the moment to get your system backup out of the closet and restore your system. I did this just yesterday and doing the restore and re-install of all the updates since the last restore took me under 40 minutes.

  2. The only other way of getting out of this mess, is to keep your /home and delete all other partitions and re-install your OS...

Sorry to be the harbinger of bad news


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »