1 (edited by Spacedust 2014-05-16 11:58:46)

Topic: Unable to run yum upgrade after updating to PHP 5.5.12

It shows something like this:

Resolving Dependencies
--> Running transaction check
---> Package php-common.x86_64 0:5.5.12-1.el6.remi will be reinstalled
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.12-1.el6.remi.x86_64
---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.12-1.el6.remi.x86_64
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.12-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-common-5.5.12-1.el6.remi.x86_64 (@mratwork-remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@mratwork-remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.12-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
           Available: php-common-5.4.27-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.28-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.12.3-1.el6.remi.5.5.x86_64 (mratwork-remi-php55)
               php-pecl-zip(x86-64) = 1.12.3-1.el6.remi.5.5
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               Not found
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               Not found
           Available: php-common-5.5.11-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
Error: Package: php-common-5.5.12-1.el6.remi.x86_64 (mratwork-remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@mratwork-remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.12-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
           Available: php-common-5.4.27-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.28-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.12.3-1.el6.remi.5.5.x86_64 (mratwork-remi-php55)
               php-pecl-zip(x86-64) = 1.12.3-1.el6.remi.5.5
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               Not found
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               Not found
           Available: php-common-5.5.11-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: Unable to run yum upgrade after updating to PHP 5.5.12

yum repolist ?

repo names seems strange.
There is no obsolete in my package, so I think some other third party repo is enabled which introduce this (already encountered) dependency issue.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

3 (edited by Spacedust 2014-05-16 14:05:13)

Re: Unable to run yum upgrade after updating to PHP 5.5.12

It's because it's now integrated into Kloxo-MR panel repos. I've disabled everything but enabled remi and remi-php55 repos only.

Re: Unable to run yum upgrade after updating to PHP 5.5.12

So ? doest it confirm the cause and solve this issue ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

5 (edited by Spacedust 2014-05-18 17:22:03)

Re: Unable to run yum upgrade after updating to PHP 5.5.12

Yes it is - php-pecl-zip is conflicting with php-common in other repos.

Why not integrate it again inside php-common ?

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for php-common which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of php-common of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude php-common.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of php-common installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of php-common installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: php-common-5.4.28-1.el6.remi.x86_64 != php-common-5.5.12-1.el6.remi.x86_64

Re: Unable to run yum upgrade after updating to PHP 5.5.12

> Yes it is - php-pecl-zip is conflicting with php-common in other repos.

No, this is php-common from other repo which stupidly "obsoletes" php-pecl-zip without version limit.
Bad packaging practice. This bug is fixed in fedora / remi repository for a long time.

I really can't take care of all existing third party repository.

> Why not integrate it again inside php-common ?

To make maintenance easier and in sync with system libzip.
php 5.5 have ext zip version 1.11 (libzip 0.10), while pecl/zip is version 1.12 (as in php 5.6, libzip 0.11)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi