在 Ubuntu 18.04 中安装任何软件包时出现错误消息

在 Ubuntu 18.04 中安装任何软件包时出现错误消息

安装后,尝试在我的 ubuntu 终端中安装任何包/apt 时显示一些错误消息。

例如,我正在尝试安装 zip

sudo apt-get install zip

执行上述命令后,我会收到这种错误消息。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
zip is already the newest version (3.0-11build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up phpmyadmin (4:4.6.6-5) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
dbconfig-common: flushing administrative password
dpkg: error processing package phpmyadmin (--configure):
 installed phpmyadmin package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该如何修复每次显示错误消息 phpmyadmin 时出现的问题

相关内容