[Email protected]:~# apt-get Install Mysql-server
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
The following packages were automatically installed and is no longer required:
Libjpeg-turbo8 Libjpeg8 libxslt1.1 libgd2-noxpm
Use the ' Apt-get autoremove ' to remove them.
The following extra packages'll be installed:
Libdbd-mysql-perl Libdbi-perl Libhtml-template-perl libmysqlclient18 Libnet-daemon-perl
Libplrpc-perl 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:
Libipc-sharedcache-perl Tinyca MAILX
The following NEW packages'll be installed:
Libdbd-mysql-perl Libdbi-perl Libhtml-template-perl libmysqlclient18 Libnet-daemon-perl
Libplrpc-perl 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, newly installed, 0 to remove and + not upgraded.
Need to get 27.3 MB of archives.
After this operation, 97.5 MB of additional disk space would be used.
Want to continue [y/n]? Y
Get:1 http://mirrors.tencentyun.com/ubuntu/precise-updates/main Mysql-common All 5.5.38-0ubuntu0.12.04.1 [13.2 KB]
Get:2 http://mirrors.tencentyun.com/ubuntu/precise-updates/main libmysqlclient18 AMD64 5.5.38-0ubuntu0.12.04.1 [949 KB]
Get:3 http://mirrors.tencentyun.com/ubuntu/precise/main Libnet-daemon-perl All 0.48-1 [43.1 KB]
Get:4 http://mirrors.tencentyun.com/ubuntu/precise/main Libplrpc-perl All 0.2020-2 [36.0 KB]
Get:5 http://mirrors.tencentyun.com/ubuntu/precise/main libdbi-perl amd64 1.616-1build2 [849 KB]
Get:6 http://mirrors.tencentyun.com/ubuntu/precise/main libdbd-mysql-perl AMD64 4.020-1build2 [106 KB]
Get:7 Http://mirrors.tencentyun.com/ubuntu/precise-updates/main mysql-client-core-5.5 AMD64 5.5.38-0ubuntu0.12.04.1 [1,941 KB]
Get:8 http://mirrors.tencentyun.com/ubuntu/precise/main libterm-readkey-perl amd64 2.30-4build3 [28.6 KB]
Get:9 http://mirrors.tencentyun.com/ubuntu/precise-updates/main mysql-client-5.5 AMD64 5.5.38-0ubuntu0.12.04.1 [ 8,342 KB]
Get:10 Http://mirrors.tencentyun.com/ubuntu/precise-updates/main mysql-server-core-5.5 AMD64 5.5.38-0ubuntu0.12.04.1 [6,090 KB]
Get:11 http://mirrors.tencentyun.com/ubuntu/precise-updates/main mysql-server-5.5 AMD64 5.5.38-0ubuntu0.12.04.1 [ 8,834 KB]
Get:12 http://mirrors.tencentyun.com/ubuntu/precise/main Libhtml-template-perl All 2.10-1 [65.0 KB]
Get:13 http://mirrors.tencentyun.com/ubuntu/precise-updates/main mysql-server All 5.5.38-0ubuntu0.12.04.1 [11.4 KB]
fetched 27.3 MB in 0s (40.1 mb/s)
preconfiguring packages ...
Selecting previously unselected package Mysql-common.
(Reading database ... 50553 files and directories currently installed.)
Unpacking Mysql-common (from .../mysql-common_5.5.38-0ubuntu0.12.04.1_all.deb) ...
Selecting previously unselected package libmysqlclient18.
Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package Libnet-daemon-perl.
Unpacking Libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously unselected package Libplrpc-perl.
Unpacking Libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously unselected package Libdbi-perl.
Unpacking Libdbi-perl (from .../libdbi-perl_1.616-1build2_amd64.deb) ...
Selecting previously unselected package Libdbd-mysql-perl.
Unpacking Libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package Libterm-readkey-perl.
Unpacking Libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build3_amd64.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...
Processing triggers for man-db ...
Setting up Mysql-common (5.5.38-0ubuntu0.12.04.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 50931 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.38-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package Libhtml-template-perl.
Unpacking Libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) ...
Selecting previously unselected package mysql-server.
Unpacking Mysql-server (from .../mysql-server_5.5.38-0ubuntu0.12.04.1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Ureadahead'll be reprofiled on next reboot
Setting up libmysqlclient18 (5.5.38-0ubuntu0.12.04.1) ...
Setting up Libnet-daemon-perl (0.48-1) ...
Setting up Libplrpc-perl (0.2020-2) ...
Setting up Libdbi-perl (1.616-1build2) ...
Setting up Libdbd-mysql-perl (4.020-1build2) ...
Setting up mysql-client-core-5.5 (5.5.38-0ubuntu0.12.04.1) ...
Setting up Libterm-readkey-perl (2.30-4build3) ...
Setting up mysql-client-5.5 (5.5.38-0ubuntu0.12.04.1) ...
Setting up mysql-server-core-5.5 (5.5.38-0ubuntu0.12.04.1) ...
Setting up mysql-server-5.5 (5.5.38-0ubuntu0.12.04.1) ...
140818 13:54:07 [Warning] Using unique option prefix Key_buffer instead of key_buffer_size is deprecated and would be Remov Ed in a future release. Please use the full name instead.
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
Setting up Libhtml-template-perl (2.10-1) ...
No apport report written because Maxreports is reached already
Dpkg:dependency problems prevent configuration of Mysql-server:
Mysql-server depends on mysql-server-5.5; However:
Package mysql-server-5.5 are not configured yet.
Dpkg:error processing Mysql-server (--configure):
Dependency Problems-leaving unconfigured
No apport report written because Maxreports is reached already
Processing triggers for libc-bin ...
Ldconfig deferred processing now taking place
Errors were encountered while processing:
mysql-server-5.5
Mysql-server
E:sub-process/usr/bin/dpkg returned an error code (1)
This article is from the "Cloud Life" blog, make sure to keep this source http://ovcer.blog.51cto.com/1145188/1541629