首页 > Ubuntu 12.04下安装phpmyadmin报错如何解决

Ubuntu 12.04下安装phpmyadmin报错如何解决

Ubuntu 12.04下安装phpmyadmin报错如何解决

@ubuntu:~$ sudo apt-get 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-mysql but it is not going to be installed or
                       php5-mysqli but it is not installable
              Recommends: php5-gd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Goole尝试解决:http://askubuntu.com/questions/64443/...

jiangge@ubuntu:~$ sudo apt-get -f install php5-mysql
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:
 php5-mysql : Depends: php5-common (= 5.3.10-1ubuntu3) but 5.3.10-1ubuntu3.4 is to be installed
E: Unable to correct problems, you have held broken packages.

此依赖问题,怎么解决?


apt-get install php5 php5-common php5-mysql php5-gd phpmyadmin


把这些先安装了

【热门文章】
【热门文章】