mariadb-server-10.1 无法在 MX Linux 上安装

mariadb-server-10.1 无法在 MX Linux 上安装

尝试安装mysql-server需要 mariadb 的程序。
但是,我的包管理器一出现mariadb-server-10.1错误就失败了:

Setting up mariadb-server-10.1 (10.1.41-0+deb9u1) ...
insserv: warning: script 'K01httpd' missing LSB tags and overrides
insserv: script mysql: service mysql already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package mariadb-server-10.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for menu (2.1.47+b1) ...
Errors were encountered while processing:
 mariadb-server-10.1
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该如何解决这个问题?

相关内容