dependencies are broken
Forum
For more information on the latest vulnerability (CVE-2018-12130, CVE-2018-12126, CVE-2018-12127, and CVE-2019-11091),
please refer to our blog post
  1. Forums
  2. General
  3. General Discussion
  1. Boris Dolgov
  2. Thursday, 14 July 2011
  3.  Subscribe via email
Hello!

When I install php53 package on cloudlinux, I am unable to install everything that requires php:
[[email protected] ~]# yum install squirrelmail
[skip]
---> Package squirrelmail.noarch 0:1.4.8-5.el5_4.10 set to be updated
--> Processing Dependency: php >= 4.0.4 for package: squirrelmail
--> Processing Dependency: php-mbstring for package: squirrelmail
--> Running transaction check
---> Package php.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-cli = 5.1.6-27.el5_5.3 for package: php
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php
[skip]
php53-common-5.3.3-1.el5_6.1.x86_64 from installed 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 solution is to add to php53 spec:
Provides: php = %{version}
And everything other like php-gd or php-mbstring.
Rate this post:
  1. 15.07.2011 09:07:04
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1196
Joined: 09.02.2010
0
Votes
Undo
Boris,

In majority of cases we just repack RHEL RPMs. And that is the problem here. What you are describing is a know issue: http://bugs.centos.org/view.php?id=4792
And there is a work around:
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=30881&;start=14

It is not pretty., but one reason RHEL never resolved it, because they would need to re-test all the packages that need php with php 5.3, and I guess they didn\'t got around to it yet.
  1. 17.07.2011 17:07:14
  2. # 2
Boris Dolgov Accepted Answer
Posts: 11
Joined: 03.07.2011
0
Votes
Undo
Agreed.
But I think it\'s better for CL to pack such a dummy package and add it to some extras repository.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.