Did you pay attention to the error messages in your terminal?

The log shows you clicked OK after this dialog:
> The file /var/lib/mysql/debian-5.7.flag indicates a
> version that cannot automatically be upgraded. Therefore the
> previous data directory will be renamed to /var/lib/mysql-5.7 and
> a new data directory will be initialized at /var/lib/mysql.
> Please manually export/import your data (e.g. with mysqldump) if needed.

The DpkgHistoryLog.txt shows you installed MySQL Server 5.7, and then
MariaDB Server 10.1. This migration path is not supported. From Oracle
MySQL 5.7 you need to upgrade to MariaDB 10.2 or newer.

To solve this situation, you need to apt-get purge mysql-* mariadb-*,
possibly by hand also run rm -rf /etc/mysql /var/lib/mysql and then try
installing again mariadb-server only.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1724813

Title:
  package mariadb-server-10.1 10.1.25-0ubuntu0.17.04.1 failed to
  install/upgrade: sub-processo script post-installation instalado
  retornou estado de saída de erro 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1724813/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to