Topic: Dependency problems when trying to update php using remi

I am running a CentOS 5 based virtual machine in the AWS cloud. I am using epel and remi and get some crazy broken dependencies when I try to update php.

I have searched around and have not been able to find a solution for what is happening. Here is my output:

# yum --enablerepo remi update php
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* epel: linux.mirrors.es.net
* remi: rpms.famillecollet.com
amzn                                                                                            | 2.1 kB     00:00     
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package php.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
--> Processing Dependency: php-cli = 5.3.5-1.el5.remi.1 for package: php-5.3.5-1.el5.remi.1.x86_64
--> Processing Dependency: php-common = 5.3.5-1.el5.remi.1 for package: php-5.3.5-1.el5.remi.1.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
--> Processing Dependency: php-common = 5.3.3-1.6.amzn1 for package: php-mysql-5.3.3-1.6.amzn1.x86_64
--> Processing Dependency: php-common = 5.3.3-1.6.amzn1 for package: php-pdo-5.3.3-1.6.amzn1.x86_64
--> Processing Dependency: php-common = 5.3.3-1.6.amzn1 for package: php-mcrypt-5.3.3-1.6.amzn1.x86_64
--> Processing Dependency: php-common = 5.3.3-1.6.amzn1 for package: php-mbstring-5.3.3-1.6.amzn1.x86_64
---> Package php-common.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
--> Processing Dependency: libcurl.so.3()(64bit) for package: php-common-5.3.5-1.el5.remi.1.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
--> Processing Dependency: libcurl.so.3()(64bit) for package: php-common-5.3.5-1.el5.remi.1.x86_64
---> Package php-mbstring.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
---> Package php-mcrypt.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
--> Processing Dependency: libltdl.so.3()(64bit) for package: php-mcrypt-5.3.5-1.el5.remi.1.x86_64
---> Package php-mysql.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
---> Package php-pdo.x86_64 0:5.3.5-1.el5.remi.1 set to be updated
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.5-1.el5.remi.1.x86_64 (remi)
           Requires: libltdl.so.3()(64bit)
Error: Package: php-common-5.3.5-1.el5.remi.1.x86_64 (remi)
           Requires: libcurl.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


I'm trying to figure out if these dependency problems are caused by AWS not having the default CentOS repositories enabled (they use their own repo as the base repo).

Re: Dependency problems when trying to update php using remi

libcurl.so.3 is provided by curl-7.15.5-9.el5_6.2
libltdl.so.3 is provided by libtool-ltdl-1.5.22-7.el5_4

Both are RHEL or CentOS base packages.

I'm trying to figure out if these dependency problems are caused by AWS not having the default CentOS repositories enabled (they use their own repo as the base repo).

I probably can't help you more.

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