Issue
On an attempt to run 'dnf update' or 'yum update' on CloudLinux 8 you are getting an error with text like the following:
Problem 1: cannot install the best update candidate for package my_cool_package.el8.cloudlinux.x86_64, example below:
Problem 1: cannot install the best update candidate for package ea-apache24-mod_lsapi-1:1.1-55.el8.cloudlinux.x86_64
- nothing provides liblsapi = 1:1.1-56.el8.cloudlinux needed by ea-apache24-mod_lsapi-1:1.1-56.el8.cloudlinux.x86_64
- cannot install the best update candidate for package grub2-common-1:2.02-90.el8_3.1.noarch
- problem with installed package grub2-efi-aa64-modules-1:2.02-90.el8_3.1.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Environment
- CloudLinux 8
Solution
Try editing your /etc/yum.conf file and set best=False:
# cat /etc/yum.conf | grep "best="
best=True
Edit to:
# cat /etc/yum.conf | grep "best="
best=False
Then run:
yum clean all
Comments
2 comments
become this
--
yum update
This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:02:24 ago on Sunday, September 18, 2022 AM03:26:38 HKT.
Error:
Problem: cannot install the best update candidate for package alt-php74-imunify-sqlite3-7.4.7-2.el8.x86_64
- nothing provides alt-php-internal-common = 7.4.15-3.el8 needed by alt-php-internal-sqlite3-7.4.15-3.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@tgt-tko-m901 ~]# yum install alt-php74-imunify-sqlite3-7.4.7-2.el8.x86_64
This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:02:43 ago on Sunday, September 18, 2022 AM03:26:38 HKT.
Package alt-php74-imunify-sqlite3-7.4.7-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@tgt-tko-m901 ~]# yum install alt-php-internal-common
This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:02:53 ago on Sunday, September 18, 2022 AM03:26:38 HKT.
Package alt-php-internal-common-7.4.21-3.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@tgt-tko-m901 ~]# yum install alt-php74-imunify-sqlite3-7.4.7-2.el8.x86_64
This system is receiving updates from CloudLinux Network server.
Last metadata expiration check: 0:03:04 ago on Sunday, September 18, 2022 AM03:26:38 HKT.
Package alt-php74-imunify-sqlite3-7.4.7-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Hello Scicube,
Could you please check what the version of alt-php-internal-common package you have already installed?
Please sign in to leave a comment.