The query Kees mentioned returned "0" for me as well. Did not have a
duplicate user however.

This worked for me :

UPDATE mysql.user SET Super_priv ='Y' WHERE USER= 'mysql.session';
GRANT SELECT on performance_schema.* to 'mysql.session'@'localhost';
flush privielges;

Now the query Kees mentioned returns "1" and dpkg can continue its
chores if I run "apt-get install -f)".

This is not an elegant workaround (only addresses a symptom) but good
enough for me (since I'm not interested in the whole "debian-sys-maint
framework" anyway) to get on my way...

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

Title:
  package mysql-server-5.7 5.7.20-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

Reply via email to