My upgrade to 12.04 stopped during the "Installing the upgrades" section (it's showing Setting up libmythes... as the last output. It says Configuring nautilus-data under the progress bar). I can still interact with GUI but it's been on 17 minutes remaining for hours and no change. I do have access to a terminal. Is there anything I can do to safely finish the upgrade?
I tried sudo apt-get dist-upgrade and it tells me /var/lib/dpkg/lock cannot be gotten. There is no cancel button on the GUI. Nor any Window decorations (compiz hung with 100% cpu and I killed it before this happened. I thought it seemed to run fine a for a little while after this). I tried alt+c, alt+f4, ctl+w, and ctl+q to close/cancel the upgrade, but nothing worked.