linux - Ubuntu 12.04下安装phpmyadmin报错如何解决
高洛峰
高洛峰 2017-04-17 11:15:26
0
2
399

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.

此依赖问题,怎么解决?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

membalas semua(2)
刘奇

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

迷茫

把这些先安装了

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan
Tentang kita Penafian Sitemap
Laman web PHP Cina:Latihan PHP dalam talian kebajikan awam,Bantu pelajar PHP berkembang dengan cepat!