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

发布于 2022-08-25 01:03:26 字数 1743 浏览 8 评论 0

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦晓ヶ微光ヅ倾城 2022-09-01 01:03:26

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

心奴独伤 2022-09-01 01:03:26

请输入图片描述

把这些先安装了

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文