Erros ao tentar instalar mariadb no Ubuntu 18.04 (Bionic Beaver)

0

Eu corro o seguinte e recebo estas mensagens de erro:

sudo apt update
sudo apt upgrade
sudo apt install mariadb-server mariadb-client

Configuration file '/etc/mysql/debian-start'  ==> Deleted (by you or by a script) since installation.  ==> Package distributor has shipped an updated version.    What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation  The default action is to keep your current version.

(eu escolhi 'eu')

Installing new version of config file /etc/mysql/debian-start ... dpkg: error processing package mariadb-server-10.1 (--configure):  installed mariadb-server-10.1 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of mariadb-server:  mariadb-server depends on mariadb-server-10.1 (>= 1:10.1.29-6); however:   Package mariadb-server-10.1 is not configured yet.

dpkg: error processing package mariadb-server (--configure):  dependency problems - leaving unconfigured Processing triggers for libc-bin (2.27-3ubuntu1) ... No apport report written because the error message indicates its a followup error from a previous failure.
      Processing triggers for ureadahead (0.100.0-20) ... Processing triggers for systemd (237-3ubuntu10) ... Errors were encountered while processing:  mariadb-server-10.1  mariadb-server E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu também tentei instalar o mysql e ter outros problemas. Eu li que o mariadb é agora preferido. O que há de errado? Tudo o mais nessa instalação funciona perfeitamente, mas até agora não consegui fazer isso funcionar.

    
por user292344 20.05.2018 / 13:20

0 respostas