Вот:
root@angelrock2:~# apt-get install
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root@angelrock2:~# sudo dpkg --configure -a
Setting up mysql-server-5.1 (5.1.41-3ubuntu12.3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline
Configuring mysql-server-5.1
----------------------------
While not mandatory, it is highly recommended that you set a password for the MySQL administrative "root" user.
If this field is left blank, the password will not be changed.
New password for the MySQL "root" user:
Repeat password for the MySQL "root" user:
И на этом зависает, я то пароль пишу но его не видно, а может его и нет.