Update Errors on PHP Extensions
Never had this before but during last weekend cron update this error popped out:
Error:
Problem: cannot install the best update candidate for package ea-php83-php-imagick-3.7.0-21.el9.eig.x86_64
- nothing provides libheif-freeworld needed by ea-php83-php-imagick-3.8.1-34.el9.nf.x86_64 from EA4_endurance
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
(XID x6ae84) “/usr/bin/yum” reported error code “1” when finishing:
“/usr/bin/yum” reported error code “1” when it ended:
yum clean all and after yum makecache both run OK.
yum upgrade –nobest – Runs OK.
Tried /usr/local/cpanel/scripts/upcp --force
Same error on imagick extension.
I decided to install PHP85, Via EasyApache4 but after adding PHP85, revision page shows nothing to be installed or provisioned.
So, installed PHP85 manually via terminal and was OK. Installed some extensions also manually and worked fine as well.
But when as soon as tried yum install ea-php85-php-imagick same error again for this extension.
What's strange for me is EasyApache4 can't handle any installations and this issue only appear for imagick extension.
-
Just an extra piece of information about this issue.
I was able to install all necessary PHP 8.5 extensions manually using yum install - EasyApache4 really doesn't work.
Exception was ea-php85-php-imagick that came out with same error.
Running yum install ea-php85-php-imagick --nobest
I was at least able to install an older version of this extension.
Installed:
ea-php85-php-imagick-3.8.1-25.el9.eig.x86_64
Skipped:
ea-php85-php-imagick-3.8.1-34.el9.nf.x86_64I've tryed also --allowerasing option but still same error.
Basically, for both PHP 8.3 and 8.5 imagick extension can't be upgraded giving me same results.
0 -
Hey there! Before I recommend anything, can you let me know your operating system and cPanel version?
0 -
My bad cPRex, I should had this informed initially.
SO: AlmaLinux v9.8.0 STANDARD kvm
Cpanel Ver: 136.0.33
Strange is, before when I had only PHP8.3 I only got a single error for this imagick module, after installed PHP8.5 manually as EasyApache4 is not OK, running upcp script (even with --force) now I have same error but now for both PHP version 8.3 and 8.5.
0 -
Thanks for the details. After a more careful look, note that package name:
ea-php83-php-imagick-3.7.0-21.el9.eig.x86_64
contains "eig" in it. This is a custom package made by your hosting provider and not something that's from our repositories, so I don't have much advice I can offer on this one. You'll need to poke your host to see why that dependency isn't available and what the options to work around that are.
0 -
Thanks for your clarification.
It can be a dumb question but I always though such repository was held by you Cpanel and not my host in this case.
I mean, when I got this error for the first time, I only had PHP83 installed and decided to install PHP85 just to see if I could isolate this issue to a PHP version.
All PHP85 and extensions, I installed using Yum Install scripts that I though should be Cpanel repo and not my host.
Could you please, clarify that?
Last scenario: Is there a way to get and install the imagick extension from your repo and this one that are coming from the host?0 -
Usually, yes, that is the case. However, this package was created by your host, so I can't say what others may be affected or how that interacts by the system.
You probably *could* install just ours, but I'm not sure what all you'd have to adjust to make that work with things as they are now. Reaching out to the host for clarification is the best plan.
0 -
Thanks, I'll check that with them and come back to you in case I need any help.
0
Please sign in to leave a comment.
Comments
7 comments