[Bug 1828756] Re: package mysql-server-5.7 5.7.26-0ubuntu0.18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127
Andreas Hasenack
andreas at canonical.com
Wed May 15 21:24:32 UTC 2019
Thanks for filing this bug in Ubuntu.
This is the error:
Setting up mysql-server-5.7 (5.7.26-0ubuntu0.18.04.1) ...
Installing new version of config file /etc/mysql/mysql.conf.d/mysqld.cnf ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 191: /usr/share/mysql-common/configure-symlinks: No such file or directory
[1mdpkg:[0m error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127
That file (configure-symlinks) is in the mysql-common package:
$ apt-file search /usr/share/mysql-common/configure-symlinks
mysql-common: /usr/share/mysql-common/configure-symlinks
>From elsewhere in your logs, we can see that you had mysql-common installed from another source, mariadb perhaps:
mysql-client-5.7 5.7.26-0ubuntu0.18.04.1
mysql-client-core-5.7 5.7.26-0ubuntu0.18.04.1
mysql-common 10.1.40+maria-1~xenial [origin: unknown]
mysql-server-core-5.7 5.7.26-0ubuntu0.18.04.1
That kind of mix is not supported. Maybe that's something you had from
when you installed this machine for the first time, with xenial, and
tried out mysql and mariadb, but didn't clean the installation properly
before settling on one?
I will mark this bug as invalid for the time being. If you think that's
a mistake and that there really is something wrong with the packaging,
then please reopen the bug and state your reasons, preferably with steps
to reproduce the problem.
Thanks!
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to mysql-5.7 in Ubuntu.
Matching subscriptions: main
https://bugs.launchpad.net/bugs/1828756
Title:
package mysql-server-5.7 5.7.26-0ubuntu0.18.04.1 failed to
install/upgrade: installed mysql-server-5.7 package post-installation
script subprocess returned error exit status 127
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1828756/+subscriptions
More information about the Ubuntu-server-bugs
mailing list