state information... Done
mariadb-server is already the newest version (10.0.38-0ubuntu0.16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 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 mariadb-server-10.0 (10.0.38-0ubuntu0.16.04.1) ...
dpkg: error processing package mariadb-server-10.0 (--configure):
(Reading database ... 47894 files and directories currently installed.)
Removing mariadb-server (10.0.38-0ubuntu0.16.04.1) ...
Removing mariadb-server-10.0 (10.0.38-0ubuntu0.16.04.1) ...
Removing mariadb-server-core-10.0 (10.0.38-0ubuntu0.16.04.1) ...
Removing mariadb-client-10.0 (10.0.38-0ubuntu0.16.04.1) ...
Removing mariadb-client-core-10.0 (10.0.38-0ubuntu0.16.04.1) ...
Removing libaio1:armhf (0.3.110-2) ...
Removing libcgi-fast-perl (1:2.10-1) ...
Removing libhtml-template-perl (2.95-2) ...
Removing libcgi-pm-perl (4.26-1) ...
Removing libdbd-mysql-perl (4.033-1ubuntu0.1) ...
Removing libdbi-perl (1.634-1ubuntu0.2) ...
Removing libhttp-message-perl (6.11-1) ...
Removing libencode-locale-perl (1.05-1) ...
Removing libfcgi-perl (0.77-1build1) ...
Removing libhtml-parser-perl (3.72-1) ...
Removing libhtml-tagset-perl (3.20-2) ...
Removing libhttp-date-perl (6.02-1) ...
Removing libio-html-perl (1.001-1) ...
Removing liblwp-mediatypes-perl (6.02-1) ...
Removing libmysqlclient20:armhf (5.7.33-0ubuntu0.16.04.1) ...
Removing libreadline5:armhf (5.2+dfsg-3build1) ...
Removing libterm-readkey-perl (2.33-1build1) ...
Removing libtimedate-perl (2.3000-2) ...
Removing liburi-perl (1.71-1) ...
Removing mariadb-common (10.0.38-0ubuntu0.16.04.1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Removing mysql-common (5.7.33-0ubuntu0.16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11.3) ...
root@OrangePi:~# apt-get mariadb-server
Setting up mariadb-client-core-10.0 (10.0.38-0ubuntu0.16.04.1) ...
Setting up mariadb-client-10.0 (10.0.38-0ubuntu0.16.04.1) ...
Setting up mariadb-server-core-10.0 (10.0.38-0ubuntu0.16.04.1) ...
Setting up mariadb-server-10.0 (10.0.38-0ubuntu0.16.04.1) ...
dpkg: error processing package mariadb-server-10.0 (--configure):
subprocess installed post-installation script returned error exit status
1
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up liburi-perl (1.71-1) ...
Setting up libhtml-parser-perl (3.72-1) ...
Setting up libcgi-pm-perl (4.26-1) ...
Setting up libfcgi-perl (0.77-1build1) ...
Setting up libcgi-fast-perl (1:2.10-1) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libhtml-template-perl (2.95-2) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libio-html-perl (1.001-1) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libhttp-message-perl (6.11-1) ...
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.0 (>= 10.0.38-0ubuntu0.16.04.1); however:
Package mariadb-server-10.0 is not configured yet.
dpkg: error processing package mariadb-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu11.3) ...
Errors were encountered while processing:
mariadb-server-10.0
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@OrangePi:~#
Верси ОС какая? Нужно репозиторий добавить в систему и сделать update И потом ещё раз попробовать
Обсуждают сегодня