sudo apt install --reinstall mysql-common; sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 108 not upgraded.
2 not fully installed or removed.
Need to get 0 B/8,456 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 41196 files and directories currently installed.)
Preparing to unpack .../mysql-common_10.2.11+maria~xenial_all.deb ...
Unpacking mysql-common (10.2.11+maria~xenial) over (10.2.11+maria~xenial) ...
Setting up mysql-common (10.2.11+maria~xenial) ...
Setting up mysql-server-5.7 (5.7.20-0ubuntu0.16.04.1) ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 143: /usr/share/mysql-common/configure-symlinks: No such file or directory
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.7 (5.7.20-0ubuntu0.16.04.1) ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 143: /usr/share/mysql-common/configure-symlinks: No such file or directory
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Пользователь добавил сообщение 20 Декабря 2017, 19:24:32:
Неужели никто не знает, как это починить?