Good evening,
I tried several times as described in the article, without success.
The last time I tried reinstalling Debian with Plesk and without making any kind of operation I am connected via terminal and I ran immediately these steps.
But the result is always the same one that I reproduce below:
xxxxxxxxxxxx root @: ~ # apt-get install mariadb-server
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
The Following extra packages will be installed:
jail-3 iproute libjemalloc1 libmariadbclient18 libmysqlclient18
mariadb-client-10.1 mariadb-client-core 10.1-mariadb-common
mariadb-server-10.1 mariadb-server-core 10.1-socat
Suggested packages:
mariadb netcat-openbsd tinyca-test
The Following packages will be REMOVED:
mariadb-client-10.0 mariadb-client-core 10.0-mariadb-server-10.0
mariadb-server-core-10.0
The Following NEW packages will be installed:
jail-3 iproute libjemalloc1 libmariadbclient18 mariadb-client-10.1
mariadb-client-core 10.1-mariadb-server-10.1 mariadb-server-core 10.1-socat
The Following packages will be upgraded:
libmysqlclient18 mariadb mariadb-server-common
3 upgraded, 9 newly installed, 4 to remove and 1 not upgraded.
Need to get 20.8 MB of archives.
After this operation, 49.4 MB of additional disk space will be used.
Do you want to continue? [Y / n] y
Get: 1
http://mirror.sov.uk.goscomb.net/debian/ jessie / main iproute to 1: 2 3.16.0- [15.5 kB]
Get: 2
http://mirror.sov.uk.goscomb.net/debian/ jessie / main libjemalloc1 amd64 6.0-3 3. [89.1 kB]
Get 3
http://mirror.sov.uk.goscomb.net/debian/ jessie / main socat amd64 1.7.2.4-2 [333 kB]
Get: 4
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main jail -3-amd64 03.25.18 jessie [7.402 kB]
Get: 5
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main mariad b-server to 10.1.18 + maria-1 ~ jessie [2,986 B]
Get: 6
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main libmys qlclient18 amd64 10.1.18 + maria-1 ~ jessie [2,942 B]
Get: 7
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main mariad b-common to 10.1.18 + maria-1 ~ jessie [3,276 B]
Get: 8
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main libmar iadbclient18 amd64 10.1.18 + maria-1 ~ jessie [586 kB]
Get: 9
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main mariad b-client-core-amd64 10.1 10.1.18 + maria-1 ~ jessie [694 kB]
Get: 10
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main maria db-client-amd64 10.1 10.1.18 + maria-1 ~ jessie [1.106 kB]
Get: 11
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main maria db-server-core-amd64 10.1 10.1.18 + maria-1 ~ jessie [4.397 kB]
Get: 12
http://ftp.bme.hu/pub/mirrors/mariadb/repo/10.1/debian/ jessie / main maria db-server-amd64 10.1 10.1.18 + maria-1 ~ jessie [6.128 kB]
Fetched 20.8 MB 13s (1,595 kB / s)
Reading changelogs ... Done
Preconfiguring packages ...
Selecting previously unselected jail-3 package.
(Reading database ... 124672 files and directories currently installed.)
Preparing to unpack ... / jail-3_25.3.18-jessie_amd64.deb ...
jail-3 Unpacking (03/25/18-jessie) ...
Selecting previously unselected package iproute.
Preparing to unpack ... / iproute_1% 3a3.16.0-2_all.deb ...
Unpacking iproute (1: 3.16.0-2) ...
Preparing to unpack ... / mariadb-server_10.1.18 + maria-1 ~ jessie_all.deb ...
Unpacking mariadb-server (10.1.18 + maria-1 ~ jessie) over (10.0.27-0 deb8u1 +) ...
dpkg: mariadb-client-core-10.0: dependency problems, but removing anyway as you requested:
mariadb-client-10.0 depends on mariadb-client-core-10.0 (> = + 10.0.27-0 deb8u1).
(Reading database ... 124682 files and directories currently installed.)
Removing mariadb-client-core-10.0 (10.0.27-0 deb8u1 +) ...
dpkg: mariadb-server-core-10.0: dependency problems, but removing anyway as you requested:
mariadb-server-10.0 depends on mariadb-server-core-10.0 (> = + 10.0.27-0 deb8u1).
Removing mariadb-server-core-10.0 (10.0.27-0 deb8u1 +) ...
dpkg: mariadb-server-10.0: dependency problems, but removing anyway as you reque sted:
plesk-mysql-server depends on mariadb-server | virtual-mysql-server; However:
Package mariadb-server is not configured yet.
Package virtual-mysql-server is not installed.
Package mariadb-server-10.0 Which Provides virtual-mysql-server is to be remov ed.
Removing mariadb-server-10.0 (10.0.27-0 deb8u1 +) ...
Removing mariadb-client-10.0 (10.0.27-0 deb8u1 +) ...
Processing triggers for man-db (2.7.0.2-5) ...
(Reading database ... 124462 files and directories currently installed.)
Preparing to unpack ... / libmysqlclient18_10.1.18 + maria-1 ~ jessie_amd64.deb ...
Unpacking libmysqlclient18 (10.1.18 + maria-1 ~ jessie) over (5.5.52-0 + deb8u1) ...
Preparing to unpack ... / mariadb-common_10.1.18 + maria-1 ~ jessie_all.deb ...
Unpacking mariadb-common (10.1.18 + maria-1 ~ jessie) over (10.0.27-0 deb8u1 +) ...
Selecting previously unselected package libmariadbclient18.
Preparing to unpack ... / libmariadbclient18_10.1.18 + maria-1 ~ jessie_amd64.deb ...
Unpacking libmariadbclient18 (10.1.18 + maria-1 ~ jessie) ...
Selecting previously unselected package mariadb-client-core-10.1.
Preparing to unpack ... / mariadb-client-core-10.1_10.1.18 + maria-1 ~ jessie_amd64.de b ...
Unpacking mariadb-client-core-10.1 (10.1.18 + maria-1 ~ jessie) ...
Selecting previously unselected package mariadb-client-10.1.
Preparing to unpack ... / mariadb-client-10.1_10.1.18 + maria-1 ~ jessie_amd64.deb ...
Unpacking mariadb-client-10.1 (10.1.18 + maria-1 ~ jessie) ...
Selecting previously unselected package libjemalloc1.
Preparing to unpack ... / ... libjemalloc1_3.6.0-3_amd64.deb
Unpacking libjemalloc1 (3.6.0-3) ...
Selecting previously unselected package mariadb-server-core-10.1.
Preparing to unpack ... / mariadb-server-core-10.1_10.1.18 + maria-1 ~ jessie_amd64.de b ...
Unpacking mariadb-server-core-10.1 (10.1.18 + maria-1 ~ jessie) ...
Selecting previously unselected package socat.
Preparing to unpack ... / ... socat_1.7.2.4-2_amd64.deb
Unpacking socat (1.7.2.4-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up mariadb-common (10.1.18 + maria-1 ~ jessie) ...
Selecting previously unselected package mariadb-server-10.1.
(Reading database ... 124640 files and directories currently installed.)
Preparing to unpack ... / mariadb-server-10.1_10.1.18 + maria-1 ~ jessie_amd64.deb ...
Unpacking mariadb-server-10.1 (10.1.18 + maria-1 ~ jessie) ...
Processing triggers for systemd (215-17 + deb8u5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up prison-3 (25/3/18-jessie) ...
Setting up iproute (1: 3.16.0-2) ...
Setting up libjemalloc1 (3.6.0-3) ...
Setting up socat (1.7.2.4-2) ...
Setting up libmysqlclient18 (10.1.18 + maria-1 ~ jessie) ...
Setting up libmariadbclient18 (10.1.18 + maria-1 ~ jessie) ...
Setting up mariadb-client-core-10.1 (10.1.18 + maria-1 ~ jessie) ...
Setting up mariadb-client-10.1 (10.1.18 + maria-1 ~ jessie) ...
Setting up mariadb-server-core-10.1 (10.1.18 + maria-1 ~ jessie) ...
Setting up mariadb-server-10.1 (10.1.18 + maria-1 ~ jessie) ...
Installing new version of config files /etc/init.d/mysql ...
Installing new version of config files /etc/logrotate.d/mysql-server ...
Installing new version of config file / etc / mysql / debian-start ...
19/10/2016 17:44:51 140458250446784 [Note] Using unique option prefix 'key_buffe r' is error-prone and can break in the future. Please use the full name 'key_buf fer_size' instead.
19/10/2016 17:44:51 140458250446784 [Notes] / usr / sbin / mysqld (mysqld 10.1.18 Mari-ADB-1 ~ jessie) starting as process 4154 ...
Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mariadb-server-10.1 package (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.1 (10.1.18 = + maria-1 ~ jessie); However:
Package mariadb-server-10.1 is not configured yet.
dpkg: error processing mariadb-server package (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18 + deb8u6) ...
Processing triggers for systemd (215-17 + deb8u5) ...
Errors were encountered while processing:
mariadb-server-10.1
mariadb-server
E: Sub-process / usr / bin / dpkg returned an error code (1)