1 (edited by sholdowa 2016-03-17 00:10:49)

Topic: Latest PHP 5.4/5.6 no longer installable on Amazon Linux

I've been using the safe installs of php-fpm to run different versions side by side on Amazon Linux servers, and this has worked fine until now.

# yum update
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
* amzn-main: packages.ap-southeast-2.amazonaws.com
* amzn-updates: packages.ap-southeast-2.amazonaws.com
* epel: fedora.uberglobalmirror.com
* remi: remi.conetix.com.au
* remi-php56: remi.conetix.com.au
* remi-safe: remi.conetix.com.au
1269 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package php54.x86_64 0:2.1-2.el6.remi will be updated
---> Package php54.x86_64 0:2.1-4.el6.remi will be an update
---> Package php54-runtime.x86_64 0:2.1-2.el6.remi will be updated
---> Package php54-runtime.x86_64 0:2.1-4.el6.remi will be an update
--> Processing Dependency: environment-modules for package: php54-runtime-2.1-4.el6.remi.x86_64
---> Package php56.x86_64 0:2.1-2.el6.remi will be updated
---> Package php56.x86_64 0:2.1-5.el6.remi will be an update
---> Package php56-runtime.x86_64 0:2.1-2.el6.remi will be updated
---> Package php56-runtime.x86_64 0:2.1-5.el6.remi will be an update
--> Processing Dependency: environment-modules for package: php56-runtime-2.1-5.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php56-runtime-2.1-5.el6.remi.x86_64 (remi)
           Requires: environment-modules
Error: Package: php54-runtime-2.1-4.el6.remi.x86_64 (remi)
           Requires: environment-modules
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

The environment-modules rpm doesn't exist on Amazon Linux, although it does on CentOS, etc.

Is there any way we can return to the old setup, or is there an alternate configuration I can use?? ( is it save to 'skip-broken'?? )

Cheers,

Steve

Re: Latest PHP 5.4/5.6 no longer installable on Amazon Linux

Some explanation on http://forum.remirepo.net/viewtopic.php?id=3381

I just add the environment-modules packages in my repository.

Same version as official RHEL/CentOS one, but with lower release to ensure official ones will be used when available.
So this package will only be used by Amazon users.

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

Re: Latest PHP 5.4/5.6 no longer installable on Amazon Linux

Thankyou so much!

Re: Latest PHP 5.4/5.6 no longer installable on Amazon Linux

smile

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