Create a gist now

Instantly share code, notes, and snippets.

@umpirsky /console Secret
Created May 9, 2012

$ sudo apt-get remove --purge mysql-server
[sudo] password for umpirsky:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
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
No apport report written because MaxReports is reached already
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt-get install mysql-server-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server-5.5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
120509 21:39:10 [Note] Plugin 'FEDERATED' is disabled.
120509 21:39:10 InnoDB: The InnoDB memory heap is disabled
120509 21:39:10 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120509 21:39:10 InnoDB: Compressed tables use zlib 1.2.3.4
120509 21:39:10 InnoDB: Initializing buffer pool, size = 128.0M
120509 21:39:10 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 67108864 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
120509 21:39:10 [ERROR] Plugin 'InnoDB' init function returned error.
120509 21:39:10 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120509 21:39:10 [ERROR] Unknown/unsupported storage engine: InnoDB
120509 21:39:10 [ERROR] Aborting
120509 21:39:10 [Note] /usr/sbin/mysqld: Shutdown complete
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
No apport report written because MaxReports is reached already
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment