yum 安装php-gd报错
本帖最后由 lxxpsp2007 于 2012-11-26 11:40 编辑系统是centos 5.6 yum 源centos官方 163 epel。 环境为 apache+php
信息如下:
yum install php-gd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.neusoft.edu.cn
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-gd.x86_64 0:5.1.6-39.el5_8 set to be updated
--> Processing Dependency: php-common = 5.1.6-39.el5_8 for package: php-gd
--> Finished Dependency Resolution
php-gd-5.1.6-39.el5_8.x86_64 from updates has depsolving problems
--> Missing Dependency: php-common = 5.1.6-39.el5_8 is needed by package php-gd-5.1.6-39.el5_8.x86_64 (updates)
Error: Missing Dependency: php-common = 5.1.6-39.el5_8 is needed by package php-gd-5.1.6-39.el5_8.x86_64 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
看提示为Missing Dependency: php-common = 5.1.6-39.el5_8 for package: php-gd丢失的依赖
yum clean all 后还是不行
解决不了。 请大家帮帮 rpm -q php-gd
php-gd-5.3.3-14.el6_3.x86_64
纯官方的,epel是什么来头?? 回复 2# action08
yum install php-gd 的版本和现有的php 版本有差异。 最后卸载之前的包,重装的。也算是解决了,但方法太烂。
页:
[1]