Rise Company
19-03-2023, 14:05
كلاود لينكس Cloud Linux حل مشكلة /usr/local/cpanel/scripts/update-packages
cannot install the best update candidate for package ea-apache24-mod_lsapi
cPanel & WHM update failure in upcp script
Problem: cannot install the best update candidate for package ea-apache24-mod_lsapi
When installing ea-apache24-mod_lsapi the "Cannot install the best candidate for the job" error occurs
Can't install LSAPI due to Error: ea-liblsapi conflicts with 1:liblsapi-1.1-39.el7.cloudlinux.x86_64
“/usr/bin/yum” reported error code “1” when it ended
https://www.rise.company/upload/uploads/16792279028611.png
المشكلة :
يصل ايميل بفشل التحديث cPanel & WHM update failure in upcp script
بسبب
[/usr/local/cpanel/scripts/update-packages] The “/usr/local/cpanel/scripts/update-packages” command (process 3714450) reported error number 1 when it ended.
وعند ادخال هذا الامر
/usr/local/cpanel/scripts/update-packages
يعطى الخطا التالى
https://www.rise.company/upload/uploads/167922779926071.png
Error:
Problem: cannot install the best update candidate for package ea-apache24-mod_lsapi-1:1.1-64.el8.cloudlinux.x86_64
- nothing provides liblsapi >= 1:1.1-65 needed by ea-apache24-mod_lsapi-1:1.1-65.el8.cloudlinux.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
حل المشكلة :
يجب التاكد من testing repository معطل
1. Check if the updates-testing repository is enabled on your server:
ادخل هذا الامر
yum repolist
2. Example of the updates-testing repository in the output:
هتجد فى الناتج موجود testing وهذا سبب المشكلة cl-ea4-testing
https://www.rise.company/upload/uploads/167922931184811.png
3. Disabled this repository and install the lsapi:
قم بتعطيله من هذا الامر
yum-config-manager --disable cl-ea4-testing
ثم
install liblsapi liblsapi-devel
install ea-apache24-mod_lsapi
للتاكد من حل المشكلة
ادخل هذا الامر
/usr/local/cpanel/scripts/update-packages
هتجد النتيجة Complete
https://www.rise.company/upload/uploads/167923026302411.png
كذلك يمكنك عمل Upgrade to Latest Version من whm
وهتجد انه complete ولن يصل لك ايميل بالخطا
تم حل المشكلة بنجاح
المرجع:
https://forums.cpanel.net/threads/cpanel-whm-update-failure-in-upcp-script.702253/
https://cloudlinux.zendesk.com/hc/en-us/articles/4416880959378-When-installing-ea-apache24-mod-lsapi-the-Cannot-install-the-best-candidate-for-the-job-error-occurs
https://support.cpanel.net/hc/en-us/articles/4403506846999-Can-t-install-LSAPI-due-to-Error-ea-liblsapi-conflicts-with-1-liblsapi-1-1-39-el7-cloudlinux-x86-64
https://forums.cpanel.net/threads/problem-in-upcp-mod_lsapi-don-t-have-a-best-candidate-in-rpmup-cloudlinux.692261/
cannot install the best update candidate for package ea-apache24-mod_lsapi
cPanel & WHM update failure in upcp script
Problem: cannot install the best update candidate for package ea-apache24-mod_lsapi
When installing ea-apache24-mod_lsapi the "Cannot install the best candidate for the job" error occurs
Can't install LSAPI due to Error: ea-liblsapi conflicts with 1:liblsapi-1.1-39.el7.cloudlinux.x86_64
“/usr/bin/yum” reported error code “1” when it ended
https://www.rise.company/upload/uploads/16792279028611.png
المشكلة :
يصل ايميل بفشل التحديث cPanel & WHM update failure in upcp script
بسبب
[/usr/local/cpanel/scripts/update-packages] The “/usr/local/cpanel/scripts/update-packages” command (process 3714450) reported error number 1 when it ended.
وعند ادخال هذا الامر
/usr/local/cpanel/scripts/update-packages
يعطى الخطا التالى
https://www.rise.company/upload/uploads/167922779926071.png
Error:
Problem: cannot install the best update candidate for package ea-apache24-mod_lsapi-1:1.1-64.el8.cloudlinux.x86_64
- nothing provides liblsapi >= 1:1.1-65 needed by ea-apache24-mod_lsapi-1:1.1-65.el8.cloudlinux.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
حل المشكلة :
يجب التاكد من testing repository معطل
1. Check if the updates-testing repository is enabled on your server:
ادخل هذا الامر
yum repolist
2. Example of the updates-testing repository in the output:
هتجد فى الناتج موجود testing وهذا سبب المشكلة cl-ea4-testing
https://www.rise.company/upload/uploads/167922931184811.png
3. Disabled this repository and install the lsapi:
قم بتعطيله من هذا الامر
yum-config-manager --disable cl-ea4-testing
ثم
install liblsapi liblsapi-devel
install ea-apache24-mod_lsapi
للتاكد من حل المشكلة
ادخل هذا الامر
/usr/local/cpanel/scripts/update-packages
هتجد النتيجة Complete
https://www.rise.company/upload/uploads/167923026302411.png
كذلك يمكنك عمل Upgrade to Latest Version من whm
وهتجد انه complete ولن يصل لك ايميل بالخطا
تم حل المشكلة بنجاح
المرجع:
https://forums.cpanel.net/threads/cpanel-whm-update-failure-in-upcp-script.702253/
https://cloudlinux.zendesk.com/hc/en-us/articles/4416880959378-When-installing-ea-apache24-mod-lsapi-the-Cannot-install-the-best-candidate-for-the-job-error-occurs
https://support.cpanel.net/hc/en-us/articles/4403506846999-Can-t-install-LSAPI-due-to-Error-ea-liblsapi-conflicts-with-1-liblsapi-1-1-39-el7-cloudlinux-x86-64
https://forums.cpanel.net/threads/problem-in-upcp-mod_lsapi-don-t-have-a-best-candidate-in-rpmup-cloudlinux.692261/