Symptoms
On a CloudLinux server, the package manager fails to update packages due to what appears to be a dependency conflict involving the kmod-lve package:
package kmod-lve-2.1-44.el9.x86_64 from @System requires kernel(__put_task_struct) = 0x9fc35e37, but none of the providers can be installed
Description
CloudLinux has identified this issue as related to older versions of the kmod-lve package being installed. The recommendation is to remove all versions of the package and install only the latest one. You can find their breakdown of the error here:
CloudLinux: package kmod-lve-2.1-18.el9.x86_64 from @System requires kernel(__find_get_block)
Workaround
-
Access your server using SSH as the root user.
-
List the currently installed versions of the kmod-lve package:
rpm -qa | grep kmod-lve -
For each result of the command in step 2, remove the package:
yum remove kmod-lve-$version
-
Reinstall the kernel-related packages, which include kmod-lve:
yum install kernel*