Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I try to install mysql-server on my Ubuntu vps server, and it's able to install, but not to configure. If it tries to configure I get this:

invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.0 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.0; however:
  Package mysql-server-5.0 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Does someone know a solution to this?

Btw, my other question can be closed, it's solved, but I cant comment on it anymore.

share|improve this question
Does /var/log/syslog show anything related to mysql when you attempt to configure the package? – ajmitch Jan 13 '11 at 22:39
I don't know really much about these things... how do you use /var/log/syslog? – Tijs Jan 14 '11 at 16:53
It doesn't work, I get this error: /usr/sbin/dpkg-reconfigure: mysql-server-5.0 is broken or not fully installed – Tijs Jan 14 '11 at 16:53

You probably aborted the mysql root password prompt dialog. From the terminal, run the following command:

sudo dpkg-reconfigure mysql-server-5.0

Let us know the results, please update your question or use the Add Comments feature.

share|improve this answer

Your Answer


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