Metadata file does not match checksum error

coursevector

Well-Known Member
Feb 23, 2015
77
5
8
cPanel Access Level
Root Administrator
Got this last night on one of my servers:

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

[2019-05-21 07:29:21 -0400] E [/usr/local/cpanel/scripts/find_outdated_services] The “/usr/local/cpanel/scripts/find_outdated_services --auto” command (process 43681) reported error number 255 when it ended.
As suggested on an older thread with a similar issue, I ran the command manually and below was the result:

Code:
[email protected] [~]# /usr/local/cpanel/scripts/find_outdated_services
Looking for outdated services …
STDERR: failure: repodata/filelists.xml.gz from stable-arch: [Errno 256] No more mirrors to try.
http://syspackages.sourcedns.com/packages/stable/centos/7/x86_64/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum


Cpanel::Exception::ProcessFailed::Error/(XID 52r22x) “/usr/local/cpanel/bin/needs-restarting-cpanel” reported error code “1” when it ended: failure: repodata/filelists.xml.gz from stable-arch: [Errno 256] No more mirrors to try.
http://syspackages.sourcedns.com/packages/stable/centos/7/x86_64/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum

 at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 149.
        Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x1a75128)) called at /usr/local/cpanel/Cpanel/ProcessCheck/Outdated.pm line 106
        Cpanel::ProcessCheck::Outdated::outdated_services() called at /usr/local/cpanel/scripts/find_outdated_services line 71
        scripts::find_outdated_services::__ANON__() called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 93
        eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 88
        Try::Tiny::try(CODE(0x1a60048), Try::Tiny::Catch=REF(0x13be6d8)) called at /usr/local/cpanel/scripts/find_outdated_services line 80
        scripts::find_outdated_services::run(scripts::find_outdated_services=HASH(0x13920a8)) called at /usr/local/cpanel/scripts/find_outdated_services line 60
Any idea on whats going on?
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,126
667
263
Houston
cPanel Access Level
DataCenter Provider
Based on this and pinging the repository it looks like it's offline:

Code:
# ping syspackages.sourcedns.com
PING syspackages.sourcedns.com (10.254.254.254) 56(84) bytes of data.
From et-0-0-1-244.cr11-dal3.ip4.gtt.net (69.174.22.113) icmp_seq=2 Destination Net Unreachable
^C
--- syspackages.sourcedns.com ping statistics ---
8 packets transmitted, 0 received, +1 errors, 100% packet loss, time 7000ms
I'd suggest disabling the repository in /etc/yum.repos.d/ by changing "enabled=1" to "enabled=0" in the file associated with that repo