Announcement

Collapse
No announcement yet.

dependencies are broken

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • dependencies are broken

    Hello!

    When I install php53 package on cloudlinux, I am unable to install everything that requires php:

    Code:
    [root@cloudlinux ~]# 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.

  • #2
    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...c_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 got around to it yet.

    Comment


    • #3
      Agreed.
      But I think its better for CL to pack such a dummy package and add it to some extras repository.

      Comment

      Working...
      X