Hi,
thank you for your report and your help to make Ubuntu better.

mysql-server-5.7 pre depends on mysql-common
  Pre-Depends: adduser (>= 3.40), debconf, mysql-common (>= 5.5)

And mysql-common is what holds that file
  $ dpkg -S /usr/share/mysql-common/configure-symlinks
  mysql-common: /usr/share/mysql-common/configure-symlinks

I wonder how that could happen for you, are you by accident installing
the .deb - no I see in the bits of apt history that are included you are
using apt.

When I try to reproduce I see it correctly pulling in mysql-common:
The following NEW packages will be installed:
  libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl 
libevent-core-2.0-5 libfcgi-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl 
libhttp-date-perl libhttp-message-perl
  libio-html-perl liblwp-mediatypes-perl libtimedate-perl liburi-perl 
mysql-client-5.7 mysql-client-core-5.7
  mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7


But your Logs hold it without mysql-common which is causing the issue:
Start-Date: 2017-02-21  14:16:23
Commandline: apt-get install mysql-server
Install: mysql-client-5.7:amd64 (5.7.17-0ubuntu0.16.04.1, automatic), 
mysql-server-5.7:amd64 (5.7.17-0ubuntu0.16.04.1, automatic), mysql-server:amd64 
(5.7.17-0ubuntu0.16.04.1), mysql-client-core-5.7:amd64 
(5.7.17-0ubuntu0.16.04.1, automatic), mysql-server-core-5.7:amd64 
(5.7.17-0ubuntu0.16.04.1, automatic)
Remove: mariadb-server-core-10.0:amd64 (10.0.29-0ubuntu0.16.04.1), 
mariadb-client-10.0:amd64 (10.0.29-0ubuntu0.16.04.1), 
mariadb-client-core-10.0:amd64 (10.0.29-0ubuntu0.16.04.1), mariadb-client:amd64 
(10.0.29-0ubuntu0.16.04.1)


I see in your case it uninstalls a bunch of mariadb dependencies (as it is an 
either/or case).
Maybe that is causing the issue.

... installying mariadb and mysql from there ...

mysql-common is installed due to mariadb as well and just happens to be
there already later on.

>From this my case looks like:
The following packages will be REMOVED:
  mariadb-client-10.0 mariadb-client-core-10.0 mariadb-server 
mariadb-server-10.0 mariadb-server-core-10.0
The following NEW packages will be installed:
  libevent-core-2.0-5 mysql-client-5.7 mysql-client-core-5.7 mysql-server 
mysql-server-5.7
  mysql-server-core-5.7


Hmm,
could you share what the following commands provide in your case?
dpkg -l mysql-common
dpkg -S /usr/share/mysql-common/configure-symlinks

As I said it should be installed via dependencies, but maybe try
$ apt-get install mysql-common
$ apt-get install mysql-server

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

Title:
  package mysql-server-5.7 5.7.17-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/1666784/+subscriptions

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

Reply via email to