Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've had this same issue EVERY time I try:

Selecting previously deselected package mysql-server-core-5.1.  
(Reading database ... 242369 files and directories currently installed.)  
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.41-  3ubuntu12.10_i386.deb) ...  
Selecting previously deselected package mysql-server-5.1.  
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.41-3ubuntu12.10_i386.deb) ...  
Selecting previously deselected package libhtml-template-perl.  
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ...  
Selecting previously deselected package mysql-server.  
Unpacking mysql-server (from .../mysql-server_5.1.41-3ubuntu12.10_all.deb) ...  
Processing triggers for man-db ...  
Processing triggers for ureadahead ...  
ureadahead will be reprofiled on next reboot  
Setting up mysql-server-core-5.1 (5.1.41-3ubuntu12.10) ...  
Setting up mysql-server-5.1 (5.1.41-3ubuntu12.10) ...  

And it just hangs there. This time I left it overnight, 12 hours later it's still there.

What am I missing?

share|improve this question

migrated from Mar 16 '11 at 20:11

This question came from our site for professional and enthusiast programmers.

Did you get a download from mysql web site or installing from synaptic? – M.Sameer Mar 16 '11 at 18:07

Looks like it might be failing when it should be prompting you for a mysql root password. Try

export DEBIAN_FRONTEND=noninteractive
apt-get -q -y install mysql-server-5.1

Then set the mysql root password afterwards by using

mysqladmin -u root password NEWPASSWORD
share|improve this answer

ONe post which I encountered touched on the mysql installation is

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.