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

Possible Duplicate:
MySQL server stopped working after upgrade

I'm trying to install MySQL 5.5 on Ubuntu 12.04, but I'm stuck with this error:

Setting up mysql-server-5.5 (5.5.24-0ubuntu0.12.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this question

marked as duplicate by Jorge Castro, Mitch, Jjed, SirCharlo, fossfreedom Sep 1 '12 at 7:34

This question was marked as an exact duplicate of an existing question.

I found a similar problem (with solution) here:

Check the mysqllogs and syslogs for errors.

share|improve this answer
Thanks, but I do not have the file mentioned in your link. – user86736 Aug 31 '12 at 15:50
And I do not know how to check the mysqllogs and syslogs. – user86736 Aug 31 '12 at 15:56

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