Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Some days ago I had some problems with updates, and this ended up with a problem that I already solved in this question . The problem is that now I want to update again, but it seems that I cannot do it automatically, because when I use the update manager it gets stuck while configuring mysql-server 5.1, in the line :

Configuring mysql-server 5.1 (5.1.41-3ubuntu12.10)...

I have been looking for some solution but it seems hard because actually I don't know where to start, so any hints are appreciated. Thanks in advance!


share|improve this question
up vote 1 down vote accepted

Run mysql-server-5.1 config script from console:

# sudo /var/lib/dpkg/info/mysql-server-5.1.config
# echo $?

If the problem persists, then add line in /var/lib/dpkg/info/mysql-server-5.1.config

#!/bin/bash -e

set -x

. /usr/share/debconf/confmodule

And run /var/lib/dpkg/info/mysql-server-5.1.config. Output add to question.

share|improve this answer
thank you!!! I could manage to update it! – sitonico Feb 28 '11 at 9:09

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.