Recovering a failed upgrade to Ubuntu 16.04

I got messaged during one of my upgrades from Ubuntu 14.04 to 16.04 that


failed to install. At the end of the install, it said the install had failed, and it was going to revert with dpkg --configure -a. From previous experience with Ubuntu 14.04 upgrades, I knew this would fail, so I:

  1. opened a second Terminal, WITHOUT clicking close on that error and typed:

    apt install gvfs init systemd-sysv

which installed tons of packages–the ones that failed depending on them. 2. in the same new Terminal, I typed:


and my PC magically worked with Ubuntu 16.04