The system failed to execute yum with the arguments

tony1124

Registered
Jul 5, 2019
4
0
1
Hong Kong
cPanel Access Level
Root Administrator
Hi guys.

I got this error message from email.

Code:
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.

[2019-09-26 21:42:39 +0800] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 14451) reported error number 1 when it ended.
Tried serveral approaches according to this forum and Google. The problem still exist.

Here are the steps I have done.

1. "WHM Home » Software » Rebuild RPM Database"

2. /scripts/upcp

Code:
...
[2019-09-27 05:46:26 +0800]   95% complete
[2019-09-27 05:46:26 +0800]   Running Standardized hooks
[2019-09-27 05:46:26 +0800]   100% complete
[2019-09-27 05:46:26 +0800]  
[2019-09-27 05:46:26 +0800]     cPanel update completed
[2019-09-27 05:46:26 +0800]   A log of this update is available at /var/cpanel/updatelogs/update.1569534260.log
[2019-09-27 05:46:26 +0800]   Removing upcp pidfile
[2019-09-27 05:46:26 +0800]  
[2019-09-27 05:46:26 +0800] Completed all updates
=> Log closed Fri Sep 27 05:46:26 2019
3. "/usr/local/cpanel/scripts/rpmup - OUTPUT

Code:
Finished Dependency Resolution
You could try running: rpm -Va --nofiles --nodigest
info [rpmup] Completed yum execution “--assumeyes --config /etc/yum.conf update --disablerepo=epel”: in 51.851 second(s).
(XID ynqb6x) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf update --disablerepo=epel” because of an error: The “/usr/bin/yum --assumeyes --config /etc/yum.conf update --disablerepo=epel” command (process 20104) reported error number 1 when it ended. : Error: Package: 1:npm-3.10.10-1.6.16.0.1.el7.x86_64 (@epel)
           Requires: nodejs = 1:6.16.0-1.el7
           Removing: 1:nodejs-6.16.0-1.el7.x86_64 (@epel)
               nodejs = 1:6.16.0-1.el7
           Updated By: 2:nodejs-6.17.1-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.17.1-1nodesource
           Available: nodejs-6.0.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 6.0.0-1nodesource.el7.centos
           Available: nodejs-6.1.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 6.1.0-1nodesource.el7.centos
           Available: nodejs-6.2.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 6.2.0-1nodesource.el7.centos
           Available: nodejs-6.2.1-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 6.2.1-1nodesource.el7.centos
           Available: nodejs-6.2.2-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 6.2.2-1nodesource.el7.centos
           Available: 1:nodejs-6.3.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 1:6.3.0-1nodesource.el7.centos
           Available: 1:nodejs-6.3.1-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 1:6.3.1-1nodesource.el7.centos
           Available: 1:nodejs-6.4.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 1:6.4.0-1nodesource.el7.centos
           Available: 1:nodejs-6.6.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 1:6.6.0-1nodesource.el7.centos
           Available: 1:nodejs-6.7.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 1:6.7.0-1nodesource.el7.centos
           Available: 2:nodejs-6.8.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.8.0-1nodesource.el7.centos
           Available: 2:nodejs-6.8.1-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.8.1-1nodesource.el7.centos
           Available: 2:nodejs-6.9.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.9.0-1nodesource.el7.centos
           Available: 2:nodejs-6.9.1-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.9.1-1nodesource.el7.centos
           Available: 2:nodejs-6.9.2-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.9.2-1nodesource.el7.centos
           Available: 2:nodejs-6.9.3-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.9.3-1nodesource.el7.centos
           Available: 2:nodejs-6.9.4-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.9.4-1nodesource.el7.centos
           Available: 2:nodejs-6.9.5-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.9.5-1nodesource.el7.centos
           Available: 2:nodejs-6.10.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.10.0-1nodesource.el7.centos
           Available: 2:nodejs-6.10.1-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.10.1-1nodesource.el7.centos
           Available: 2:nodejs-6.10.2-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.10.2-1nodesource.el7.centos
           Available: 2:nodejs-6.10.2-2nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.10.2-2nodesource.el7.centos
           Available: 2:nodejs-6.10.3-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.10.3-1nodesource.el7.centos
           Available: 2:nodejs-6.11.0-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.11.0-1nodesource.el7.centos
           Available: 2:nodejs-6.11.1-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.11.1-1nodesource.el7.centos
           Available: 2:nodejs-6.11.2-1nodesource.el7.centos.x86_64 (nodesource)
               nodejs = 2:6.11.2-1nodesource.el7.centos
           Available: 2:nodejs-6.11.3-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.11.3-1nodesource
           Available: 2:nodejs-6.11.4-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.11.4-1nodesource
           Available: 2:nodejs-6.11.5-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.11.5-1nodesource
           Available: 2:nodejs-6.12.0-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.12.0-1nodesource
           Available: 2:nodejs-6.12.1-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.12.1-1nodesource
           Available: 2:nodejs-6.12.2-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.12.2-1nodesource
           Available: 2:nodejs-6.13.0-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.13.0-1nodesource
           Available: 2:nodejs-6.13.1-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.13.1-1nodesource
           Available: 2:nodejs-6.14.0-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.14.0-1nodesource
           Available: 2:nodejs-6.14.1-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.14.1-1nodesource
           Available: 2:nodejs-6.14.2-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.14.2-1nodesource
           Available: 2:nodejs-6.14.3-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.14.3-1nodesource
           Available: 2:nodejs-6.14.4-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.14.4-1nodesource
           Available: 2:nodejs-6.15.0-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.15.0-1nodesource
           Available: 2:nodejs-6.15.1-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.15.1-1nodesource
           Available: 2:nodejs-6.16.0-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.16.0-1nodesource
           Available: 2:nodejs-6.17.0-1nodesource.x86_64 (nodesource)
               nodejs = 2:6.17.0-1nodesource
checkyum version 22.3  (excludes: bind-chroot ruby)

Any further suggestions?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
795
112
168
cPanel Access Level
Root Administrator
Hey there,@tony1124,

The nightly cPanel updates call the rpmup script that you're receiving the errors about. This essentially is just like running "yum update" on the command line of the system, and if you try that on your machine you'll receive the same output that you provided in the third box in your initial message.

While cPanel does use the RPM system for tools like EasyApache 4, the "nodesource" repository that is being referenced in the output there isn't something that is included with the operating system by default, or as part of any cPanel tools. Since this is the case you would want to work with the system administrator of that machine to either fix the dependency problems if you need that package, or remove the package and disable the repository if that is not something you're using.

Let me know if that helps!