您好,匿名用户
随意问技术百科期待您的加入

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

+1 投票

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.

此依赖问题,怎么解决?

用户头像 提问 2013年 9月7日 @ Irelia 上等兵 (292 威望)
分享到:

1个回答

0 投票

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

用户头像 回复 2013年 9月7日 @ Redis 上等兵 (114 威望)
提一个问题:

相关问题

0 投票
1 回复 151 阅读
用户头像 提问 2012年 12月1日 @ Alistar 上等兵 (326 威望)
0 投票
1 回复 18 阅读
用户头像 提问 2014年 3月7日 @ Virgo 上等兵 (284 威望)
0 投票
1 回复 45 阅读
用户头像 提问 2012年 12月1日 @ Shaco 上等兵 (179 威望)
0 投票
1 回复 12 阅读
0 投票
0 回复 25 阅读

欢迎来到随意问技术百科, 这是一个面向专业开发者的IT问答网站,提供途径助开发者查找IT技术方案,解决程序bug和网站运维难题等。
温馨提示:本网站禁止用户发布与IT技术无关的、粗浅的、毫无意义的或者违法国家法规的等不合理内容,谢谢支持。

欢迎访问随意问技术百科,为了给您提供更好的服务,请及时反馈您的意见。
...