LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-04-2011, 12:52 AM   #1
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Rep: Reputation: Disabled
Error: php53-common conflicts with php-common


Dear friends.

I have installed php 5.3.6-4 on centOS 5.6.

When i try to install some modules of php then it gives an error

php53-common-5.3.3-1.el5_6.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
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
The program package-cleanup is found in the yum-utils package.

I have reinstall it twice but each time i get same error.
Any help will be appreciable.

Regards,

Shahnawaz Uqaili
 
Old 06-04-2011, 01:03 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Did you try the suggested commands?

Try running:

Code:
package-cleanup --problems
and
Code:
package-cleanup --dupes
and post the output.
 
Old 06-04-2011, 01:11 AM   #3
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thanks for quick response Andrew. I got this output

[root@server ~]# package-cleanup --cgi
-bash: package-cleanup: command not found
[root@server ~]# package-cleanup --dupes
-bash: package-cleanup: command not found
 
Old 06-04-2011, 01:21 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
It doesn't look like you have the package.

Code:
yum install yum-utils
Then try again.
 
Old 06-04-2011, 01:31 AM   #5
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Original Poster
Rep: Reputation: Disabled
Instaqlled yum utils successfully

Installed:
yum-utils.noarch 0:1.1.16-14.el5.centos.1

But still same error on installing php modules like php-cgi, ctype, curl etc.
NOTE: I'm doing all this with remi repository because it has the latest php.
 
Old 06-04-2011, 01:54 AM   #6
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Original Poster
Rep: Reputation: Disabled
I found a bug on centOS 5.6
There is always conflict in php53-common and php-common. You can check this

http://bugs.centos.org/view.php?id=4852

Can any one have the alternate solution for this?
 
Old 06-28-2011, 08:51 AM   #7
jjj0923
LQ Newbie
 
Registered: Jun 2011
Posts: 14

Rep: Reputation: Disabled
I'm faced with the same problem - I just tried --skip-broken

I'm getting to load my php application later today and we'll see if it works.

jeff
 
Old 09-07-2011, 01:50 AM   #8
huzoorbux
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Facing the same problem when i am going to instal yum install php-curl

Quote:
[root@new ~]# yum install php-curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: fedora-epel.mirror.lstn.net
* rpmforge: fr2.rpmfind.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
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
The program package-cleanup is found in the yum-utils package.
 
Old 09-18-2011, 03:06 AM   #9
gautsch
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
solving the php conflict

To solve the conflict, remove all php packages (php-common, php-mysql, php-xml, etc) and replace them with their php53 equivalent, i.e. php-common -> php53-common and so on. I also had to reinstall mysql. Don't forget to restart Apache to load the newly installed extensions.
 
Old 01-16-2012, 09:42 AM   #10
Melanie
LQ Newbie
 
Registered: Jan 2003
Location: London, UK
Distribution: CentOS, Fedora
Posts: 4

Rep: Reputation: 1
Additional information:

php-curl, php-json and a few others have no php53 equivalents. They have been removed from the repo and replaced with dummy dependency packages that pull in php53-common because these popular extensions are now part of every php install with version 5.3.

Therefore you will find that these packages cannot be installed even after upgrading to php 5.3. This is a nonissue, they are not required and these extensions are already present, don't install those packages anymore.
 
Old 04-18-2012, 12:46 AM   #11
fogmann
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
php53-devel

I ran into this same problem trying to run:
# yum -y install php-devel

Resolved it by runing:
# yum -y install php53-devel
 
Old 05-29-2012, 02:14 AM   #12
Amlesh
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
I have just checked that I have installed php through yum which has installed php5.1.6, because of which when I was trying to install php53-gd, it was conflicting with the php-common. I have checked with the below command for install php modules:
rpm -qa | grep -i php
and after that I have removed all the modules using yum remove, and then installed php53-gd, which worked like a charm for me.
below are the commands, I have used

rpm -qa | grep -i php
yum remove php
yum remove php-cli
yum remove php-pdo
yum remove php-common
yum install php53-gd

This installed gd.so in /usr/lib64/php/modules/gd.so, i have just modiflied the php.ini file with enabling gd by adding below line below the line : ;extension=php_gd2.dll

extension=/usr/lib64/php/modules/gd.so

At last I restarted the apache and it works for me.
 
Old 06-11-2012, 12:22 AM   #13
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
i uninstalled php-5.1 and trying to install php53 but still it error
php53-common conflicts with php-common..

and cannot install yum install yum-plugin-replace
No package yum-plugin-replace available.
 
  


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 06:34 AM
Getting Error: Missing Dependency: php-common, when trying to install php-soap amish123 Linux - Software 3 02-18-2010 07:26 PM
xfree86-common xserver-common xfonts-base missing in etch/lenny unev_21 Debian 2 09-11-2009 02:12 AM
BOGUS.common.04y -> /home/common/Mailbox jayakrishnan Linux - Networking 0 11-19-2005 04:48 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM

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

All times are GMT -5. The time now is 06:06 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