Topic: Problem with update PHP 5.5.0RC2 to 5.5.0-1

Dunno if it's right place but this problem never occur with previous updates, but now:

[rootd~]# yum list updates
Updated Packages
php.i386                                                              5.5.0-1.el5.remi                              remi-test
php-bcmath.i386                                                       5.5.0-1.el5.remi                              remi-test
php-cli.i386                                                          5.5.0-1.el5.remi                              remi-test
php-common.i386                                                       5.5.0-1.el5.remi                              remi-test
php-devel.i386                                                        5.5.0-1.el5.remi                              remi-test
[some others]
php-xml.i386                                                          5.5.0-1.el5.remi                              remi-test
[rootd~]#yum update
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.5.0-1.el5.remi set to be updated
---> Package php-bcmath.i386 0:5.5.0-1.el5.remi set to be updated
---> Package php-cli.i386 0:5.5.0-1.el5.remi set to be updated
--> Processing Dependency: php-json for package: phpMyAdmin
---> Package php-common.i386 0:5.5.0-1.el5.remi set to be updated
[some others]
--> Running transaction check
---> Package gd-last.i386 0:2.1.0-0.10.725ba9d.el5.remi set to be updated
---> Package php-pecl-jsonc.i386 0:1.3.1-2.el5.remi.1 set to be updated
---> Package php-pecl-jsonc-devel.i386 0:1.3.1-2.el5.remi.1 set to be updated
---> Package php53-common.i386 0:5.3.3-13.el5_8 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-13.el5_8.i386 from base 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


I don't have PHP 5.3 installed yikes Any ideas how to do update without reinstall?

Re: Problem with update PHP 5.5.0RC2 to 5.5.0-1

try adding with --exclude php53\*

php53-common is pulled by yum because it also provides php-json and is elected as a better candidate than php-pecl-jsonc.
I don't see any good solution to avoid this.

After this upgrade, future ones will not raise this dependencu issue again.

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 holmes 2013-06-24 09:25:51)

Re: Problem with update PHP 5.5.0RC2 to 5.5.0-1

Works, thanks! big_smile

Re: Problem with update PHP 5.5.0RC2 to 5.5.0-1

Despite a workaround exists, I just add a new "php-json" empty metapackage which will become the best provider of "php-json" and so will avoid yum to be  unable to select the correct one.

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