Skip to content

Instantly share code, notes, and snippets.

@cortix
Created December 13, 2014 23:15
Show Gist options
  • Save cortix/7b1f8b33b73ea8ac9a3b to your computer and use it in GitHub Desktop.
Save cortix/7b1f8b33b73ea8ac9a3b to your computer and use it in GitHub Desktop.
login as: root
root@178.62.216.84's password:
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Sat Dec 13 16:55:22 EST 2014
System load: 0.0 Processes: 88
Usage of /: 10.8% of 19.56GB Users logged in: 1
Memory usage: 85% IP address for eth0: 178.62.216.84
Swap usage: 0%
Graph this data and manage this system at:
https://landscape.canonical.com/
Last login: Sat Dec 13 16:55:22 2014 from 176.240.47.91
root@berkademconsulting:~# sudo apt-get remove --purge mysql-server mysql-client mysql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libaio1 libdbi-perl libterm-readkey-perl mysql-client-core-5.5
mysql-server-core-5.5
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
libdbd-mysql-perl* libmysqlclient18* mysql-client-5.5* mysql-common*
mysql-server* mysql-server-5.5*
0 upgraded, 0 newly installed, 6 to remove and 61 not upgraded.
2 not fully installed or removed.
After this operation, 67.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 92790 files and directories currently installed.)
Removing mysql-server (5.5.40-0ubuntu0.14.04.1) ...
Removing mysql-server-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Purging configuration files for mysql-server-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Removing mysql-client-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Removing libdbd-mysql-perl (4.025-1) ...
Removing libmysqlclient18:amd64 (5.5.40-0ubuntu0.14.04.1) ...
Purging configuration files for libmysqlclient18:amd64 (5.5.40-0ubuntu0.14.04.1) ...
Removing mysql-common (5.5.40-0ubuntu0.14.04.1) ...
Purging configuration files for mysql-common (5.5.40-0ubuntu0.14.04.1) ...
dpkg: warning: while removing mysql-common, directory '/etc/mysql' not empty so not removed
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
root@berkademconsulting:~# sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libaio1 libdbi-perl libterm-readkey-perl mysql-client-core-5.5
mysql-server-core-5.5
0 upgraded, 0 newly installed, 5 to remove and 61 not upgraded.
After this operation, 29.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 92607 files and directories currently installed.)
Removing mysql-server-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Removing libaio1:amd64 (0.3.109-4) ...
Removing libdbi-perl (1.630-1) ...
Removing libterm-readkey-perl (2.31-1) ...
Removing mysql-client-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
root@berkademconsulting:~# sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@berkademconsulting:~# sudo rm -rf /var/lib/mysql
root@berkademconsulting:~# sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5
mysql-server-core-5.5
Suggested packages:
libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
libsql-statement-perl tinyca mailx
The following NEW packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5
0 upgraded, 11 newly installed, 0 to remove and 61 not upgraded.
Need to get 0 B/8,998 kB of archives.
After this operation, 96.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package libaio1:amd64.
(Reading database ... 92338 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
Unpacking libaio1:amd64 (0.3.109-4) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.5.40-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common (5.5.40-0ubuntu0.14.04.1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.5.40-0ubuntu0.14.04.1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.40-0ubuntu0.14.04.1) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...
Unpacking libdbi-perl (1.630-1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.025-1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.025-1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
Unpacking libterm-readkey-perl (2.31-1) ...
Selecting previously unselected package mysql-client-core-5.5.
Preparing to unpack .../mysql-client-core-5.5_5.5.40-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-client-5.5.
Preparing to unpack .../mysql-client-5.5_5.5.40-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-core-5.5.
Preparing to unpack .../mysql-server-core-5.5_5.5.40-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up mysql-common (5.5.40-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 92701 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.5_5.5.40-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.40-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-server (5.5.40-0ubuntu0.14.04.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libaio1:amd64 (0.3.109-4) ...
Setting up libmysqlclient18:amd64 (5.5.40-0ubuntu0.14.04.1) ...
Setting up libdbi-perl (1.630-1) ...
Setting up libdbd-mysql-perl (4.025-1) ...
Setting up libterm-readkey-perl (2.31-1) ...
Setting up mysql-client-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Setting up mysql-server-core-5.5 (5.5.40-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.5 (5.5.40-0ubuntu0.14.04.1) ...
141213 18:08:15 [Warning] Using unique option prefix key_buffer instead of key_b
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package 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 package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
No apport report written because the error message indicates its a followup erro
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@berkademconsulting:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment