Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am newbie to ubuntu. While I was trying to install MySQL, I got the following errors, and need some help trying to understand how to fix the problem.

Setting up mysql-server-5.5 (5.5.31-0ubuntu0.12.04.1) ...
130515 21:19:58 [Note] Plugin 'FEDERATED' is disabled.
130515 21:19:58 InnoDB: The InnoDB memory heap is disabled
130515 21:19:58 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130515 21:19:58 InnoDB: Compressed tables use zlib
130515 21:19:58 InnoDB: Initializing buffer pool, size = 128.0M
130515 21:19:58 InnoDB: Completed initialization of buffer pool
130515 21:19:58 InnoDB: highest supported file format is Barracuda.
130515 21:19:58 InnoDB: Waiting for the background threads to start
130515 21:19:59 InnoDB: 5.5.31 started; log sequence number 1595675
130515 21:19:59 InnoDB: Starting shutdown...
130515 21:19:59 InnoDB: Shutdown completed; log sequence number 1595675
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 MaxReports is reached already
No apport report written because MaxReports is reached already
Errors were encountered while processing: mysql-server-5.5 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)"
share|improve this question
What command did you use to try installing it? sudo apt-get update && sudo apt-get install mysql-server should not give you any problems. It looks more like you were trying to install from a .deb package with dpkg.. –  douggro May 15 '13 at 16:16
I think your answer is here: “E: Sub-process /usr/bin/dpkg returned an error code (1)” –  Radu Rădeanu May 15 '13 at 18:29
add comment

Your Answer


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

Browse other questions tagged or ask your own question.