The problem was an existing /var/lib/mysql-upgrade/DATADIR.link file,
which caused the soft link backup mechanism to fail.

This can be fixed manually be deleting /var/lib/mysql-
upgrade/DATADIR.link and running apt-get -f install.

To fix the preinst script, just change the line

cp -d "$checkdir" "$UPGRADEDIR/$dir.link"

to

cp -dT "$checkdir" "$UPGRADEDIR/$dir.link"

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

Title:
  package mariadb-server-10.0 10.0.17-0ubuntu1 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/1474212/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to