LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-24-2012, 12:38 PM   #1
paul1107
LQ Newbie
 
Registered: Oct 2011
Posts: 10

Rep: Reputation: Disabled
Missing Dependency: php-common = 5.1.6-27.el5_7.4 is needed by package php-gd-5.1.6-2


I run a linux server with centos

I run some wordpress sites and for a contact form I need to add GD and Free Type libraries for the captcha services.

I ran

# yum install gd gd-devel php-gd

then

# /etc/init.d/httpd restart

It seemed to load OK, however over at wordpress I was still getting the error message to say GD and Free Type need to be installed.

I contacted my support and the replied with following:

Quote:
I notice when trying to install GD it looks like there are some dependencies missing:

Resolving Dependencies
--> Running transaction check
---> Package php-gd.i386 0:5.1.6-27.el5_7.4 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_7.4 for package: php-gd
--> Finished Dependency Resolution
php-gd-5.1.6-27.el5_7.4.i386 from updates has depsolving problems
--> Missing Dependency: php-common = 5.1.6-27.el5_7.4 is needed by package php-gd-5.1.6-27.el5_7.4.i386 (updates)
Error: Missing Dependency: php-common = 5.1.6-27.el5_7.4 is needed by package php-gd-5.1.6-27.el5_7.4.i386 (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

You may need to install any of these before getting GD to install. Once those are installed give it another try and see if it will complete.
I've tried doing a search, but there nothing that gives me any clues as to how resolve this.

I was hoping you guys may be able to point me in the right direction?

cheers!
 
Old 01-25-2012, 01:47 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,413

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
Have you tried installing package with these options as shown above when you get the error message :

Quote:
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
 
Old 01-25-2012, 04:29 AM   #3
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,190
Blog Entries: 4

Rep: Reputation: 220Reputation: 220Reputation: 220
manually download the missing dependency and try re installing the package

here have a link or you can hit a search on google for other links

http://rpm.pbone.net/index.php3/stat....i386.rpm.html
 
  


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
yum update PHP on CentOS - missing dependency php-common AndyMillne Linux - Server 7 05-21-2013 07:34 AM
Getting Error: Missing Dependency: php-common, when trying to install php-soap amish123 Linux - Software 3 02-18-2010 08:26 PM
Receiving constant error "Missing Dependency: /usr/bin/php is needed" GreenDragonComputers Linux - Software 3 05-09-2007 02:40 AM
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 08:17 AM
Error: Missing Dependency: libwpd-1.so.7 is needed by package abiword tmick Fedora 9 10-11-2005 01:06 PM


All times are GMT -5. The time now is 09:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration