Setting up mysql-server-5.7 (5.7.13-0ubuntu0.16.04.2) ...
Installing new version of config file /etc/apparmor.d/usr.sbin.mysqld ...
Installing new version of config file /etc/init.d/mysql ...
Installing new version of config file /etc/init/mysql.conf ...
Installing new version of config file /etc/logrotate.d/mysql-server ...
Installing new version of config file /etc/mysql/debian-start ...
/usr/lib/x86_64-linux-gnu/libproxy.so.1: symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
mysqld: relocation error: mysqld: symbol _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 127
From log:
Setting up mysql-server-5.7 (5.7.13- 0ubuntu0. 16.04.2) ... d/usr.sbin. mysqld ... mysql.conf ... d/mysql- server ... debian- start ... x86_64- linux-gnu/ libproxy. so.1: symbol _ZTTNSt7_ _cxx1119basic_ ostringstreamIc St11char_ traitsIcESaIcEE E, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference x86_64- linux-gnu/ gio/modules/ libgiolibproxy. so alternatives: using /etc/mysql/ mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode _cxx1115basic_ stringbufIcSt11 char_traitsIcES aIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference /wiki.debian. org/Teams/ MySQL/FAQ for tips on fixing common upgrade issues.
Installing new version of config file /etc/apparmor.
Installing new version of config file /etc/init.d/mysql ...
Installing new version of config file /etc/init/
Installing new version of config file /etc/logrotate.
Installing new version of config file /etc/mysql/
/usr/lib/
Failed to load module: /usr/lib/
update-
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
mysqld: relocation error: mysqld: symbol _ZTVNSt7_
Please take a look at https:/
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 127