Preparing to unpack .../mysql-server-5.7_5.7.19-0ubuntu0.16.04.1_amd64.deb ... Unpacking mysql-server-5.7 (5.7.19-0ubuntu0.16.04.1) ... Selecting previously unselected package php-common. Preparing to unpack .../php-common_1%3a35ubuntu6.1_all.deb ... Unpacking php-common (1:35ubuntu6.1) ... Selecting previously unselected package php7.0-common. Preparing to unpack .../php7.0-common_7.0.18-0ubuntu0.16.04.1_amd64.deb ... Unpacking php7.0-common (7.0.18-0ubuntu0.16.04.1) ... Selecting previously unselected package php7.0-json. Preparing to unpack .../php7.0-json_7.0.18-0ubuntu0.16.04.1_amd64.deb ... Unpacking php7.0-json (7.0.18-0ubuntu0.16.04.1) ... Selecting previously unselected package php7.0-opcache. Preparing to unpack .../php7.0-opcache_7.0.18-0ubuntu0.16.04.1_amd64.deb ... Unpacking php7.0-opcache (7.0.18-0ubuntu0.16.04.1) ... Selecting previously unselected package php7.0-readline. Preparing to unpack .../php7.0-readline_7.0.18-0ubuntu0.16.04.1_amd64.deb ... Unpacking php7.0-readline (7.0.18-0ubuntu0.16.04.1) ... Selecting previously unselected package php7.0-cli. Preparing to unpack .../php7.0-cli_7.0.18-0ubuntu0.16.04.1_amd64.deb ... Unpacking php7.0-cli (7.0.18-0ubuntu0.16.04.1) ... Selecting previously unselected package libapache2-mod-php7.0. Preparing to unpack .../libapache2-mod-php7.0_7.0.18-0ubuntu0.16.04.1_amd64.deb ... Unpacking libapache2-mod-php7.0 (7.0.18-0ubuntu0.16.04.1) ... Selecting previously unselected package libapache2-mod-php. Preparing to unpack .../libapache2-mod-php_1%3a7.0+35ubuntu6.1_all.deb ... Unpacking libapache2-mod-php (1:7.0+35ubuntu6.1) ... Selecting previously unselected package libhtml-template-perl. Preparing to unpack .../libhtml-template-perl_2.95-2_all.deb ... Unpacking libhtml-template-perl (2.95-2) ... Selecting previously unselected package mysql-server. Preparing to unpack .../mysql-server_5.7.19-0ubuntu0.16.04.1_all.deb ... Unpacking mysql-server (5.7.19-0ubuntu0.16.04.1) ... Selecting previously unselected package php7.0-mysql. Preparing to unpack .../php7.0-mysql_7.0.18-0ubuntu0.16.04.1_amd64.deb ... Unpacking php7.0-mysql (7.0.18-0ubuntu0.16.04.1) ... Selecting previously unselected package php-mysql. Preparing to unpack .../php-mysql_1%3a7.0+35ubuntu6.1_all.deb ... Unpacking php-mysql (1:7.0+35ubuntu6.1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for systemd (229-4ubuntu19) ... Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-1build1) ... Setting up libaprutil1-ldap:amd64 (1.5.4-1build1) ... Setting up liblua5.1-0:amd64 (5.1.5-8ubuntu1) ... Setting up apache2-bin (2.4.18-2ubuntu3.4) ... Setting up apache2-utils (2.4.18-2ubuntu3.4) ... Setting up apache2-data (2.4.18-2ubuntu3.4) ... Setting up apache2 (2.4.18-2ubuntu3.4) ... Enabling module mpm_event. Enabling module authz_core. Enabling module authz_host. Enabling module authn_core. Enabling module auth_basic. Enabling module access_compat. Enabling module authn_file. Enabling module authz_user. Enabling module alias. Enabling module dir. Enabling module autoindex. Enabling module env. Enabling module mime. Enabling module negotiation. Enabling module setenvif. Enabling module filter. Enabling module deflate. Enabling module status. Enabling conf charset. Enabling conf localized-error-pages. Enabling conf other-vhosts-access-log. Enabling conf security. Enabling conf serve-cgi-bin. Enabling site 000-default. insserv: warning: script 'K01httpd' missing LSB tags and overrides insserv: warning: script 'K01ampps' missing LSB tags and overrides insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: warning: script 'httpd' missing LSB tags and overrides insserv: warning: script 'ampps' missing LSB tags and overrides insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: warning: script 'K01httpd' missing LSB tags and overrides insserv: warning: script 'K01ampps' missing LSB tags and overrides insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: warning: script 'httpd' missing LSB tags and overrides insserv: warning: script 'ampps' missing LSB tags and overrides insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. Setting up libaio1:amd64 (0.3.110-2) ... Setting up mysql-client-core-5.7 (5.7.19-0ubuntu0.16.04.1) ... Setting up mysql-client-5.7 (5.7.19-0ubuntu0.16.04.1) ... Setting up mysql-server-core-5.7 (5.7.19-0ubuntu0.16.04.1) ... Setting up libevent-core-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ... Setting up mysql-server-5.7 (5.7.19-0ubuntu0.16.04.1) ... update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Renaming removed key_buffer and myisam-recover options (if present) insserv: warning: script 'K01httpd' missing LSB tags and overrides insserv: warning: script 'K01ampps' missing LSB tags and overrides insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: Script mongod is broken: incomplete LSB comment. insserv: missing `Required-Start:' entry: please add even if empty. insserv: missing `Required-Stop:' entry: please add even if empty. insserv: script mysql: service mysql already provided! insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing package mysql-server-5.7 (--configure): subprocess installed post-installation script returned error exit status 1