Ubuntu Server upgrade over SSH hang

Posted by Chris on Server Fault See other posts from Server Fault or by Chris
Published on 2011-10-15T08:36:22Z Indexed on 2012/09/13 9:40 UTC
Read the original article Hit count: 226

Filed under:
|

I was upgrading an Ubuntu server (using the do-release-upgrade) command over SSH (I know it's a bad idea, but it was the only choice; I don't have physical access to the server). It seemed to go fine and was going thru the 'setting up package name' part when it froze on the line

Installing new version of config file /etc/mysql/debian-start ...

The SSH connection appears to be still active, as pressing the up arrow echoes back ^[[A, and so on. When I log in on another SSH connection I can log in fine, but the ** system needs restart ** message shows up. Is it safe to ^C the release-upgrade command, or try to reboot the server? Should I ^C the upgrade and try it again? Anything else I could try?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about upgrade-issue