Symptoms
cPanel updates fail during rpmup with errors related to Imunify360 packages not updating. For example:
Error: Package: imunify360-webshield-modsecurity-devel-3.0.4-3.el7.x86_64 (@cloudlinux-imunify360)
Requires: imunify360-webshield-modsecurity = 3.0.4-3.el7
Removing: imunify360-webshield-modsecurity-3.0.4-3.el7.x86_64 (@cloudlinux-imunify360)
imunify360-webshield-modsecurity = 3.0.4-3.el7
Obsoleted By: imunify360-webshield-bundle-1.17-5.el7.x86_64 (cloudlinux-imunify360)
Not found
Available: imunify360-webshield-modsecurity-3.0.0-2.el7.x86_64 (cloudlinux-imunify360)
imunify360-webshield-modsecurity = 3.0.0-2.el7
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
In this example, rpmup
is attempting to update the imunify360-webshield-modsecurity-devel
package and failing. The issue occurs because imunify360-webshield-modsecurity-devel
requires imunify360-webshield-modsecurity
, which is obsoleted by imunify360-webshield-bundle
.
Description
The Imunify360 team is aware of the issue and is working on getting this fixed to prevent further cPanel and yum update issues. The internal case number on the Imunify360 end is DEF-17433.
cPanel is also tracking this issue via internal case number UPS-389.
Workaround
The Imunify360 team has indicated that imunify360-webshield*-devel
packages are not required for Imunify360 functionality and can be safely removed. In the example above, the imunify360-webshield-modsecurity-devel
package can be removed via yum in order to work around the conflict:
yum remove imunify360-webshield-modsecurity-devel