I tried the full purge, exactly the same problem. Putty log here. I've left the escape codes in, but what happens is I get several pink screens asking for a password, I hit enter at each and if freezes at
Setting up mysql-server-5.5 (5.5.31-0ubuntu0.12.10.1) ...
http://pastebin.com/5jtXCfdm...