LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2009, 07:24 AM   #1
Nicarlo
LQ Newbie
 
Registered: Aug 2005
Posts: 24

Rep: Reputation: 15
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]#
 
Old 11-23-2009, 09:12 AM   #2
Nicarlo
LQ Newbie
 
Registered: Aug 2005
Posts: 24

Original Poster
Rep: Reputation: 15
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!
 
Old 11-23-2009, 09:55 AM   #3
SJ1979
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Nicarlo View Post
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!
Thanks for summing this up. I had the same problem but found the answer here.
 
Old 03-11-2012, 02:46 PM   #4
HIF277767
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
p.s. this message was added to be able to post link in solution

Last edited by HIF277767; 03-11-2012 at 02:53 PM.
 
Old 03-11-2012, 02:53 PM   #5
HIF277767
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
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
Write following text there:

Code:
[varien]
name=Varien Inc. pubclic PHP repository - $basearch
baseurl=http://rpms.varien.com/php5/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://rpms.varien.com/RPM-GPG-KEY-varien
Save the file and execute following command:

Code:
yum update php*
That's it, good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache 2.0.63 with mod_fcgid and php-cgi error on CentOS 5.2 64Bit robertjinx Linux - Server 1 11-20-2008 02:29 PM
Install PHP on a 64bit CentOS problem. HELP. jfernandez Linux - Software 5 11-20-2008 07:56 AM
libgaim.so.0()(64bit) error | centos Cheza Linux - General 1 01-12-2008 10:32 AM
Wireshark Install On CentOS 64bit krams Linux - Newbie 3 04-24-2007 04:35 PM
some help with CentOS PHP issue please! renegadeavenger Red Hat 5 08-08-2005 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration