CentOS 5.4 64bit php-gd issue
Hey guys,
Im having a problem when trying to install php-gd. It comes back with missing dependency but when i check, it is installed on the system. At this point im out of ideas after doing a pretty big search on google. Here is a little more information [root@MTL1 yum.repos.d]# yum install php-gd Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-gd.x86_64 0:5.1.6-23.2.el5_3 set to be updated --> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php-gd --> Finished Dependency Resolution php-gd-5.1.6-23.2.el5_3.x86_64 from base has depsolving problems --> Missing Dependency: php-common = 5.1.6-23.2.el5_3 is needed by package php-gd-5.1.6-23.2.el5_3.x86_64 (base) Error: Missing Dependency: php-common = 5.1.6-23.2.el5_3 is needed by package php-gd-5.1.6-23.2.el5_3.x86_64 (base) 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 [root@MTL1 yum.repos.d]# yum list php-gd Available Packages php-gd.x86_64 5.1.6-23.2.el5_3 base [root@MTL1 yum.repos.d]# yum list php-common Installed Packages php-common.x86_64 5.2.11-2.el5.art installed [root@MTL1 yum.repos.d]# |
to sum up what i did to fix this issue.
The cause of this problem was the mixing of different repos. I removed third-party repos and then did a yum remove php-common and then reinstalled everything that was removed by that command. After that i had no additional problems Thanks! |
Quote:
|
p.s. this message was added to be able to post link in solution
|
Here is solution how ot install php 5.2.17 with GD under CentOS 64bit. Create a file:
Code:
nano /etc/yum.repos.d/varien.repo Code:
[varien] Code:
yum update php* |
All times are GMT -5. The time now is 11:22 PM. |