My workaround was to edit /var/lib/dpkg/info/mysql-server-5.7.triggers
and to change the invoke() function:

invoke() {
  if pathfind invoke-rc.d; then
    invoke-rc.d mysql $1
    systemctl $1 mysql
  else
    /etc/init.d/mysql $1
  fi
}

I'm running mysql in an LXC container.

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

Title:
  package mysql-server-5.7 5.7.11-0ubuntu6 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1 during release upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1573279/+subscriptions

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

Reply via email to