cPanel & WHM update failure in upcp script

Operating System & Version
centos 7
Jan 30, 2019
18
3
3
London
cPanel Access Level
Website Owner
I'm getting following error.
How to fix it?


Code:
The cPanel & WHM update process failed for the following reason:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/rpmup”. Review the update logs to determine why the update failed.

Update log preview:
...
...
[2020-08-22 01:50:11 -0400] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 15783) reported error number 1 when it ended.
...
[2020-08-22 01:50:36 -0400] - Finished command `/usr/local/cpanel/scripts/check_mysql` in 0.049 seconds
[2020-08-22 01:50:36 -0400] Processing: Checking CloudLinux installation
[2020-08-22 01:50:36 -0400] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
[2020-08-22 01:50:36 -0400] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.025 seconds
[2020-08-22 01:50:36 -0400] Processing: Updating plugins data cache
[2020-08-22 01:50:36 -0400] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2020-08-22 01:50:36 -0400] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.020 seconds
[2020-08-22 01:50:36 -0400] Processing: Ensuring SSL certificate information for CCS is up to date.
[2020-08-22 01:50:36 -0400] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
[2020-08-22 01:50:36 -0400] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.003 seconds
[2020-08-22 01:50:36 -0400] Processing: Ensure cpanel-plugins yum repo exists
[2020-08-22 01:50:36 -0400] - Finished in 0.201 seconds
[2020-08-22 01:50:36 -0400] Processing: Checking Addon Licenses
[2020-08-22 01:50:36 -0400] - Finished in 0.016 seconds
[2020-08-22 01:50:36 -0400] Processing: Checking End Of Life for current version.
[2020-08-22 01:50:36 -0400] - Finished in 0.595 seconds
[2020-08-22 01:50:36 -0400] Processing:
[2020-08-22 01:50:36 -0400] Maintenance complete.
=> Log closed Sat Aug 22 01:50:36 2020
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (15174) at Sat Aug 22 01:50:36 2020
 
Jan 30, 2019
18
3
3
London
cPanel Access Level
Website Owner
#/usr/local/cpanel/scripts/rpmup

Code:
checkyum version 22.3  (excludes: bind-chroot kernel ruby)
info [rpmup] Starting yum execution “--assumeyes --color=never --config /etc/yum.conf update --disablerepo=epel”.
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 104.254.183.20
 * cpanel-addons-production-feed: 104.254.183.20
 * cpanel-plugins: 104.254.183.20
 * remi: repo1.ash.innoscale.net
 * remi-safe: repo1.ash.innoscale.net
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.9.10.68-3.el7 will be updated
--> Processing Dependency: libMagickCore-6.Q16.so.6()(64bit) for package: ImageMagick-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libMagickWand-6.Q16.so.6()(64bit) for package: ImageMagick-6.9.11.28-1.el7.remi.x86_64
---> Package ImageMagick.x86_64 0:6.9.11.28-1.el7.remi will be an update
--> Processing Dependency: libfftw3.so.3()(64bit) for package: ImageMagick-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libraqm.so.0()(64bit) for package: ImageMagick-6.9.11.28-1.el7.remi.x86_64
---> Package kernel-4.19-ovh-xxxx-std-ipv6-64.x86_64 0:4.19_ovh_xxxx_std_ipv6_64-1374269 will be updated
---> Package kernel-4.19-ovh-xxxx-std-ipv6-64.x86_64 0:4.19_ovh_xxxx_std_ipv6_64-1384349 will be an update
---> Package kernel-4.19-ovh-xxxx-std-ipv6-64-headers.x86_64 0:4.19_ovh_xxxx_std_ipv6_64-1374269 will be updated
---> Package kernel-4.19-ovh-xxxx-std-ipv6-64-headers.x86_64 0:4.19_ovh_xxxx_std_ipv6_64-1384349 will be an update
---> Package libpaper.x86_64 0:1.1.24-8.el7 will be updated
---> Package libpaper.x86_64 0:1.1.24-8.el7.remi will be an update
---> Package yum-plugin-universal-hooks.x86_64 0:0.1-10.10.3.cpanel will be updated
---> Package yum-plugin-universal-hooks.x86_64 0:0.1-12.12.1.cpanel will be an update
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.9.11.28-1.el7.remi will be an update
--> Processing Dependency: libraqm.so.0()(64bit) for package: ImageMagick-6.9.11.28-1.el7.remi.x86_64
---> Package ImageMagick-libs.x86_64 0:6.9.11.28-1.el7.remi will be installed
--> Processing Dependency: libcdt.so.5()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libcgraph.so.6()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libgvc.so.6()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libraqm.so.0()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libraw_r.so.19()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libwebp.so.7()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libwebpdemux.so.2()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
--> Processing Dependency: libwebpmux.so.3()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
---> Package fftw-libs-double.x86_64 0:3.3.3-8.el7 will be installed
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.9.11.28-1.el7.remi will be an update
--> Processing Dependency: libraqm.so.0()(64bit) for package: ImageMagick-6.9.11.28-1.el7.remi.x86_64
---> Package ImageMagick-libs.x86_64 0:6.9.11.28-1.el7.remi will be installed
--> Processing Dependency: libraqm.so.0()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
---> Package LibRaw.x86_64 0:0.19.4-1.el7 will be installed
---> Package graphviz.x86_64 0:2.30.1-21.el7 will be installed
--> Processing Dependency: libXaw.so.7()(64bit) for package: graphviz-2.30.1-21.el7.x86_64
---> Package libwebp7.x86_64 0:1.0.3-1.el7.remi will be installed
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.9.11.28-1.el7.remi will be an update
--> Processing Dependency: libraqm.so.0()(64bit) for package: ImageMagick-6.9.11.28-1.el7.remi.x86_64
---> Package ImageMagick-libs.x86_64 0:6.9.11.28-1.el7.remi will be installed
--> Processing Dependency: libraqm.so.0()(64bit) for package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64
---> Package libXaw.x86_64 0:1.0.13-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: ImageMagick-6.9.11.28-1.el7.remi.x86_64 (remi)
 You could try using --skip-broken to work around the problem
Error: Package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64 (remi)
 You could try running: rpm -Va --nofiles --nodigest
info [rpmup] Completed yum execution “--assumeyes --color=never --config /etc/yum.conf update --disablerepo=epel”: in 3.459 second(s).
(XID dx5fnu) “/usr/bin/yum” reported error code “1” when it ended:
checkyum version 22.3  (excludes: bind-chroot ruby)
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
131
42
103
Denmark
cPanel Access Level
Root Administrator
It's because your ImageMagick is installed from remi repository. I'd recommend removing that, and use the basic CentOS repo ;)
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
@Michael Svendsen is correct, the remi repository is a 3rd party unsupported repo and installing packages from it could potentially cause issues (as with all 3rd party repos)