尝试在 LAMP 堆栈上安装 phpmyadmin 时未满足的依赖关系

尝试在 LAMP 堆栈上安装 phpmyadmin 时未满足的依赖关系

我正在尝试安装 phpmyadmin 和 LAMP 堆栈,但是当我写入终端时sudo apt-get install phpmyadmin出现以下错误:

 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.
 The following information may help to resolve the situation:

 The following packages have unmet dependencies:
     phpmyadmin : Depends: php5-mysql but it is not going to be installed or
                   php5-mysqli but it is not installable or
                   php5-mysqlnd but it is not going to be installed
          Recommends: php5-gd but it is not going to be installed
 E: Unable to correct problems, you have held broken packages.

我尝试安装 php5-gd 但出现以下错误:

 The following packages have unmet dependencies:
 php5-gd : Depends: php5-common (= 5.6.11+dfsg-1ubuntu3) but 5.6.11+dfsg-1ubuntu3.1 is to be installed
 E: Unable to correct problems, you have held broken packages.

php5-common已经安装了,我尝试安装,5.6.11+dfsg-1ubuntu3.1但是却发现没有找到包。

相关内容