Hi Seyfer,
relevant lines are:
mv: cannot move '/var/lib/mysql' to '/var/lib/mysql-5.7/mysql': Directory not 
empty
dpkg: error processing archive 
/var/cache/apt/archives/mariadb-server-10.0_10.0.27-0ubuntu0.16.04.1_amd64.deb 
(--unpack):
 subprocess new pre-installation script returned error exit status 1

Can you try to rename the directory /var/lib/mysql-5.7/mysql and restart
the upgrade process?

You can use the following command:
$ sudo mv /var/lib/mysql-5.7/mysql /var/lib/mysql-5.7/mysql_backup

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

Title:
  package mariadb-server-10.0 10.0.27-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess new pre-installation script returned error
  exit status 1

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

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

Reply via email to