16.04 更新后 mysql 损坏

16.04 更新后 mysql 损坏

几天前更新后我的 mysql 安装已损坏。

我完全删除了 mysql 中的所有内容并尝试再次安装它,但出现以下错误:

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)

我现在害怕 mysql 更新,一次更新就会搞砸整个数据库系统......

相关内容