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.
此依赖问题,怎么解决?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
apt-get install php5 php5-common php5-mysql php5-gd phpmyadmin
把这些先安装了