SOLVED [CPANEL-27373] Needed system RPMs were not installed: perl-File-Copy-Recursive

jndawson

Well-Known Member
Aug 27, 2014
231
23
18
Western US
cPanel Access Level
DataCenter Provider
We had one of our servers spit out an error when updating to v.80 last night.
Code:
Sysup: Needed system RPMs were not installed: perl-File-Copy-Recursive
Reran update manually, same result.

Checked the referenced doc:
Code:
For more information about this error and guidance on how to resolve the error, go to https://go.cpanel.net/sysupfailed.
Followed instructions:
Code:
Open the /etc/yum.conf file with a text editor and remove the required package from the exclude line.
Edited this line to remove 'perl*' (commented out original):
Code:
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
Next instruction:
Code:
Save your changes and run the RPM installation process again.
Re-ran update, still got the same error.

Tried to install related RPM, which doesn't exist.

Installed the perl module using whm > software.

Out of curiosity, checked /etc/yum/conf. This line had been restored; the commented-out line still intact:
Code:
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
#exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
Using webmin, checked installation:

Code:
Package name cpanel-perl-528-File-Copy-Recursive
Update system YUM
Package description CPAN module - Perl extension for recursively copying files and
Current state Running latest 0.44-1.cp1178
Installed version 0.44-1.cp1178
Available version 0.44-1.cp1178
Installation source Installed
Re-ran update, still getting error, and this:

Code:
checkyum version 22.3  (excludes: bind-chroot kernel perl ruby)
checkyum version 22.3  (excludes: bind-chroot kernel perl)
Loaded plugins: fastestmirror, security, universal-hooks
Setting up Install Process
Loading mirror speeds from cached hostfile
 * EA4: 206.130.99.76
 * cpanel-addons-production-feed: 206.130.99.76
 * cpanel-plugins: 206.130.99.76
 * atomic: www6.atomicorp.com
 * base: mirrors.xmission.com
 * elrepo: ftp.osuosl.org
 * extras: mirror.linuxfix.com
 * rpmforge: mirror.chpc.utah.edu
 * updates: ftp.osuosl.org
No package perl-File-Copy-Recursive available.
Error: Nothing to do
(XID 23c8er) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf install perl-File-Copy-Recursive” because of an error: The “/usr/bin/yum --assumeyes --config /etc/yum.conf install perl-File-Copy-Recursive” command (process 16444) reported error number 1 when it ended. : Error: Nothing to do
checkyum version 22.3  (excludes: bind-chroot perl ruby)
E Sysup: Needed system RPMs were not installed: perl-File-Copy-Recursive
And, from the log:
Code:
[2019-05-14 15:51:18 -0700]   checkyum version 22.3  (excludes: bind-chroot kernel perl)
[2019-05-14 15:51:18 -0700]   Starting yum execution “--assumeyes --config /etc/yum.conf install perl-File-Copy-Recursive”.
[2019-05-14 15:51:19 -0700]   Loaded plugins: fastestmirror, security, universal-hooks
[2019-05-14 15:51:19 -0700]   Setting up Install Process
[2019-05-14 15:51:19 -0700]   Loading mirror speeds from cached hostfile
[2019-05-14 15:51:22 -0700]    * EA4: 206.130.99.76
[2019-05-14 15:51:22 -0700]    * cpanel-addons-production-feed: 206.130.99.76
[2019-05-14 15:51:22 -0700]    * cpanel-plugins: 206.130.99.76
[2019-05-14 15:51:22 -0700]    * atomic: www6.atomicorp.com
[2019-05-14 15:51:22 -0700]    * base: mirrors.xmission.com
[2019-05-14 15:51:22 -0700]    * elrepo: ftp.osuosl.org
[2019-05-14 15:51:22 -0700]    * extras: mirrors.usc.edu
[2019-05-14 15:51:22 -0700]    * rpmforge: mirror.chpc.utah.edu
[2019-05-14 15:51:22 -0700]    * updates: mirror.linuxfix.com
[2019-05-14 15:51:33 -0700]   No package perl-File-Copy-Recursive available.
[2019-05-14 15:51:34 -0700] W Error: Nothing to do
[2019-05-14 15:51:34 -0700]   Completed yum execution “--assumeyes --config /etc/yum.conf install perl-File-Copy-Recursive”: in 15.797 second(s).
[2019-05-14 15:51:34 -0700] E (XID tdaqww) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf install perl-File-Copy-Recursive” because of an error: The “/usr/bin/yum --assumeyes --config /etc/yum.conf install perl-File-Copy-Recursive” command (process 24312) reported error number 1 when it ended. : Error: Nothing to do
[2019-05-14 15:51:34 -0700]   checkyum version 22.3  (excludes: bind-chroot perl ruby)
[2019-05-14 15:51:34 -0700] E Sysup: Needed system RPMs were not installed: perl-File-Copy-Recursive
What the heck, people?
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,134
1
168
New York
Same error here.

The system failed to update to the latest version of cPanel & WHM version 11.80 because it could not install basic requirements for cPanel & WHM. The specific failure was:



Sysup: Needed system RPMs were not installed: perl-File-Copy-Recursive
 

greetingsc

Well-Known Member
May 18, 2004
45
0
156
Getting the same error here - this is what comes through in email after nightly update:

---

cPanel & WHM failed to update

The system failed to update to the latest version of cPanel & WHM version 11.80 because it could not install basic requirements for cPanel & WHM. The specific failure was:

Sysup: Needed system RPMs were not installed: perl-File-Copy-Recursive

---

The update does complete though - manually updated to 80.0.2 yesterday and though I got the errors it did complete the update, then in the nightly update last night it errored again but did update to 80.0.4
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,126
667
263
Houston
cPanel Access Level
DataCenter Provider
I believe this issue is related to an internal case we have open currently CPANEL-27373 - New Cpanel::Syspkgs rpm dependencies broken on perl-XXX packages on legacy perl588 servers

A couple of things on this though:

1. In the case there is a workaround and it's as follows:

Remove the perl* exclude from /etc/yum.conf, run 'yum reinstall perl' or 'yum install perl' and then run '/scripts/sysup'.

2. While the above workaround should fix the issue that rpm is a legacy package that was added for EA3 and the case is referencing removing it altogether, which is done in 82 but until then the workaround should resolve the issue.

I'll update here when CPANEL-27373 is fixed and in RELEASE.


Thanks!
 

jndawson

Well-Known Member
Aug 27, 2014
231
23
18
Western US
cPanel Access Level
DataCenter Provider
Used 'yum install perl'. Seems to have worked:

Code:
[ [email protected] ~># /scripts/sysup
checkyum version 22.3  (excludes: bind-chroot kernel perl ruby)
checkyum version 22.3  (excludes: bind-chroot kernel)
info [sysup] Starting yum execution â--assumeyes --config /etc/yum.conf install perl-File-Copy-Recursiveâ
Loaded plugins: fastestmirror, security, universal-hooks
Setting up Install Process
Loading mirror speeds from cached hostfile
 * EA4: 204.10.37.146
 * cpanel-addons-production-feed: 204.10.37.146
 * cpanel-plugins: 204.10.37.146
 * atomic: www5.atomicorp.com
 * base: mirror.fileplanet.com
 * elrepo: elrepo.org
 * extras: mirror.web-ster.com
 * rpmforge: mirror.chpc.utah.edu
 * updates: mirror.sjc02.svwh.net
Resolving Dependencies
--> Running transaction check
---> Package perl-File-Copy-Recursive.noarch 0:0.38-4.el6 will be installed
--> Finished Dependency Resolution


Total download size: 22 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : perl-File-Copy-Recursive-0.38-4.el6.noarch                   1/1
  Verifying  : perl-File-Copy-Recursive-0.38-4.el6.noarch                   1/1

Complete!
info [sysup] Completed yum execution â--assumeyes --config /etc/yum.conf install perl-File-Copy-Recursiveâ
checkyum version 22.3  (excludes: bind-chroot perl ruby)
 
  • Like
Reactions: cPanelLauren