Issue
Updates could not be installed to the server due to problems with the dependencies of the alt-python38-PyYAML package:
Error: Package: imunify360-firewall-6.3.1-4.x86_64 (cloudlinux-imunify360)
Requires: alt-python38-PyYAML >= 5.4.1-1
Installed: alt-python38-PyYAML-5.1.2-1.el7.x86_64 (@cloudlinux-x86_64-server-7)
alt-python38-PyYAML = 5.1.2
alt-python38-PyYAML = 5.1.2-1.el7
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] Error: Package: imunify360-firewall-6.3.1-4.x86_64 (cloudlinux-imunify360)
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] Requires: alt-python38-PyYAML >= 5.4.1-1
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] Installed: alt-python38-PyYAML-5.1.2-1.el7.x86_64 (@cloudlinux-x86_64-server-7)
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] alt-python38-PyYAML = 5.1.2
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] alt-python38-PyYAML = 5.1.2-1.el7
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] You could try using --skip-broken to work around the problem
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] You could try running: rpm -Va --nofiles --nodigest
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] (XID c2se2b) “/usr/bin/yum” reported error code “1” when it ended:
[2022-03-08 05:57:41 +0100] [/usr/local/cpanel/scripts/rpmup] checkyum version 22.3 (excludes: bind-chroot)
[2022-03-08 05:57:42 +0100] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 7720) reported error
Environment
- Imunify360
- alt-python38-PyYAML
- cPanel
- CloudLinux
- protectbase plugin
Solution
Updates cannot be installed due to the active protectbase plugin.
2308 packages excluded due to repository protections
Updates need to be installed after temporarily disabling it.
# yum update imunify360-firewall --disableplugin=protectbase
Alternatively, the plugin itself can be temporarily disabled in the configuration file /etc/yum/pluginconf.d/protectbase.conf, or it can be disabled for the desired repositories by specifying protect=0 in their configs.
Useful links
Comments
0 comments
Please sign in to leave a comment.