root@anonymous-20-a213l:~# apt-get -y install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
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-mcrypt 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.
这是我在执行“sudo apt-get install phpmyadmin”后遇到的错误,在执行此过程之前,我已经通过“sudo apt-get update”进行了更新。请帮助我。谢谢
答案1
因为你没有向我们提供更多信息……
所有软件包均位于 Precise 存储库中:
您可以单独安装这些软件包:
sudo apt-get install php5-mcrypt
sudo apt-get install phpmyadmin
也许(因为推荐)
sudo apt-get install php5-gd