Log of issue
(7/24): clearos-centos-updates/7/x86_64/filelists_db | 1.9 MB 00:00:01
clearos-centos-updates/7/x86_6 FAILED
http://download2.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
(8/24): clearos-contribs/7/filelists_db | 33 kB 00:00:00
SNIP
(19/24): clearos-updates/7/other_db | 43 kB 00:00:00
clearos-centos-updates/7/x86_6 FAILED ========================= ] 4.4 MB/s | 28 MB 00:00:04 ETA
http://download1.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
clearos-centos-updates/7/x86_6 FAILED ================================= ] 5.1 MB/s | 35 MB 00:00:02 ETA
http://download4.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
clearos-centos-updates/7/x86_6 FAILED ========================================- ] 5.8 MB/s | 41 MB 00:00:01 ETA
http://download3.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
(20/24): clearos-centos-updates/7/x86_64/other_db | 27 MB 00:00:03
(21/24): clearos-centos/7/x86_64/primary_db
I tried yum clean all, disabling fastestmirror, etc, nothing works.
(7/24): clearos-centos-updates/7/x86_64/filelists_db | 1.9 MB 00:00:01
clearos-centos-updates/7/x86_6 FAILED
http://download2.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
(8/24): clearos-contribs/7/filelists_db | 33 kB 00:00:00
SNIP
(19/24): clearos-updates/7/other_db | 43 kB 00:00:00
clearos-centos-updates/7/x86_6 FAILED ========================= ] 4.4 MB/s | 28 MB 00:00:04 ETA
http://download1.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
clearos-centos-updates/7/x86_6 FAILED ================================= ] 5.1 MB/s | 35 MB 00:00:02 ETA
http://download4.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
clearos-centos-updates/7/x86_6 FAILED ========================================- ] 5.8 MB/s | 41 MB 00:00:01 ETA
http://download3.clearsdn.com/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
(20/24): clearos-centos-updates/7/x86_64/other_db | 27 MB 00:00:03
(21/24): clearos-centos/7/x86_64/primary_db
I tried yum clean all, disabling fastestmirror, etc, nothing works.
Share this post:
Responses (19)
-
Accepted Answer
Peter Baldwin wrote:.
Hi Peter, the error changed today:
clearos-centos-updates/7/x86_6 FAILED 14% [============- ] 1.7 MB/s | 7.0 MB 00:00:25 ETA
http://download2.clearsdn.com/centos/7/updates/x86_64/repodata/651ef38cea473ae41b97b6e496ae5f35d803d44aa846379207211ab7c52a601e-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum ] 1.7 MB/s | 7.0 MB 00:00:25 ETA
Trying other mirror.
(21/24): clearos-centos/7/x86_64/primary_db | 5.3 MB 00:00:03
clearos-centos-updates/7/x86_6 FAILED
http://download4.clearsdn.com/centos/7/updates/x86_64/repodata/651ef38cea473ae41b97b6e496ae5f35d803d44aa846379207211ab7c52a601e-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum ] 3.5 MB/s | 22 MB 00:00:07 ETA
Trying other mirror.
clearos-centos-updates/7/x86_6 FAILED 46% [==========================================- ] 3.4 MB/s | 23 MB 00:00:07 ETA
http://download3.clearsdn.com/centos/7/updates/x86_64/repodata/651ef38cea473ae41b97b6e496ae5f35d803d44aa846379207211ab7c52a601e-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum ] 3.4 MB/s | 23 MB 00:00:07 ETA
Trying other mirror.
clearos-centos-updates/7/x86_6 FAILED 48% [============================================ ] 3.4 MB/s | 24 MB 00:00:07 ETA
http://download1.clearsdn.com/centos/7/updates/x86_64/repodata/651ef38cea473ae41b97b6e496ae5f35d803d44aa846379207211ab7c52a601e-prestodelta.xml.gz: [Errno -1] Metadata file does not match checksum ] 3.4 MB/s | 24 MB 00:00:07 ETA
Trying other mirror. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Thanks Mick and Tony!
I now have a better understanding. The "delta RPM" support was stripped from the ClearOS CentOS mirror, but the references in repomd.xml file are problematic. We'll fix the issue (tracker), but we'll do sanity checking before pushing out changes to the mirrors. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Tony Ellis wrote: .
Get this, if I dont do a yum clean all with that file (2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz) in the right spots in the /var/cache/yum directories nothing complains - acts normal.
When I do a yum clean all, yum makecache, then things go wrong and I have to put that file back for things to got back to normal. That file should be on the clearsdn mirrors because its listed in the repomd.xml file. (Let someone know if you know anyone over there that deals with the mirrors) -
Accepted Answer
Tony Ellis wrote: .
Interesting datapoint, I found that file in iraq and japan:
http://mirror.earthlink.iq/centos/7/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz
http://public.p-knowledge.co.jp/centos/7.2.1511/updates/x86_64/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz
So I'm not nuts. I dont get why the downloadX.clearsdn servers have this file mentioned in there but doesnt host it.
Ill try that packages cache setting and see if it works. -
Accepted Answer
Sounds like the mirrors are out of sync if they have different contents, I only checked two - either updates are slow getting to some or some are badly broken :-(
Doing another search found "Adding http_caching=packages to my yum.conf file and THEN running yum clear metadata fixed the problem" for several people, but if the mirrors aren't in sync that may not help...
EDIT1: We crossed - you might want to send a PM to Peter Baldwin...
but I do not have a problem - just installed an rpm using yum - strange
EDIT2:
Here are the mirrors it used
* clearos: mirror1-frankfurt.clearos.com
* clearos-centos: download1.clearsdn.com
* clearos-centos-updates: download1.clearsdn.com
* clearos-contribs: mirror1-frankfurt.clearos.com
* clearos-epel: download1.clearsdn.com
* clearos-infra: mirror1-frankfurt.clearos.com
* clearos-updates: mirror1-frankfurt.clearos.com
* private-clearcenter-dyndns: download1.clearsdn.com:80
-
Accepted Answer
Tony Ellis wrote: .
I think I found it -
The mirrors:
http://download1.clearsdn.com/centos/7.2.1511/updates/x86_64/repodata/repomd.xml
http://download2.clearsdn.com/centos/7.2.1511/updates/x86_64/repodata/repomd.xml
http://download3.clearsdn.com/centos/7.2.1511/updates/x86_64/repodata/repomd.xml
http://download4.clearsdn.com/centos/7.2.1511/updates/x86_64/repodata/repomd.xml
(along with http://download1.clearsdn.com/centos/7/updates/x86_64/repodata/repomd.xml) (Same thing)
Have in the repomd.xml file a reference to a presto-delta file which is on none of these downloadX.clearsdn.com servers. Either clear should take out the presto-delta section in the repomd.xml or put that file in there. -
Accepted Answer
Tony Ellis wrote: .
Thanks for the help here -
> "Are you going through a transparent proxy to access the internet? Your ISP using one?"
No, direct connect from the FW. No funny business that I've ever seen.
> "EDIT: Did you try to wget the correct files directly?"
Yep, if you check out the repomd.xml file on SOME of the mirrors right now you'll see that the prestodelta file "2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz" is in there but not on (SOME?) of the mirrors. Ill try a few other mirrors repomd.xml and see if I can find one that seems matching, ibiblio seems good on this. -
Accepted Answer
Tony Ellis wrote: .
cleaned out yum and the like and reinstalled --replacepkgs:
clearos-release-7-2.8.v7.x86_64
app-base-core-2.2.5-1.v7.noarch
app-clearcenter-core-2.1.14-1.v7.noarch
yum clean all ; yum makecache
Still produces errors.
Then I looked inside:
http://download1.clearsdn.com/centos/7/updates/x86_64/repodata/repomd.xml
<data type="prestodelta">
<checksum type="sha256">2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f</checksum>
<open-checksum type="sha256">6ef6d130ef1586ef9d7f683f3fad20ce3cd32d820967dd88e7b8f6902fcf2913</open-checksum>
<location href="/repodata/2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz"/>
<timestamp>1456941797</timestamp>
<size>254016</size>
<open-size>1335437</open-size>
</data>
The file is in google cache if you google search for it but none of the mirrors have any prestodelta file - I was thinking to download whatever prestodelta.xmz.gz and taking the sha256 of theat and modifying the repomd.xml to see if I could get further.
The prestodelta file isnt even there. Im guessing that either the prestodelta should not be in the repomd.xml or that file went missing.
Luckily the error isnt fatal, just annoying.
But I grepped and grepped strings of everything in the system, there isnt a single file - binary, text or compressed, that has this string "2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f" in it when yum clean all is run. -
Accepted Answer
-
Accepted Answer
Tony Ellis wrote: .
Hi Tony;
I tried both:
http_caching=none
in yum.conf, yum clean all ; yum makecache ; yum upgrade
Still the error appears, also - after yum clean all, I dont see any xml.gz files anywhere on the system.
[root@system tmp]# yum clean all
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Cleaning repos: clearos clearos-centos clearos-centos-updates clearos-contribs clearos-fast-updates clearos-infra clearos-updates private-clearcenter-dyndns
Cleaning up everything
[root@system tmp]# find /var/cache -name "*.xml.gz"
[root@system tmp]# find / -name "*.xml.gz"
[root@system tmp]# updatedb
[root@system tmp]# locate xml.gz
[root@system tmp]#
Ill grep around for this stale info, I see on the mirrors the prestodelta file is a different hash. -
Accepted Answer
OK - one exists on mine deltarpm.x86_64 0:3.6-3.el7
When I just looked at two of the mirrors in your list - there was no 2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz
e.g. http://download1.clearsdn.com/centos/7/updates/x86_64/repodata/
That makes me think that file exists maybe on your installation, or is cached somewhere...
see https://plone.lucidsolutions.co.nz/linux/rpm/yum-metadata-file-does-not-match-checksum
If this does not help them, well.. maybe it's on your system
updatedb
locate 2fa53ceabbee5bad6911794e9995f4f2d35bc24956db98761dc4244b4ad13f0f-prestodelta.xml.gz
If you find it try moving elsewhere (so you move back to get to your present position again), then see if yum works
I found that "yum clean all" doesn't remove all .xml.gz files in /var/cache/yum/x86_64/7/ -
Accepted Answer
Tony Ellis wrote:
Try removing all rpms with 'presto' and 'delta' in their names
[root@system tmp]# rpm -qa | grep -i presto
[root@system tmp]# rpm -qa | grep -i delta
Nothing with those names is installed.
[root@system tmp]# uname -a
Linux system.domain.lan 3.10.0-327.10.1.v7.x86_64 #1 SMP Sat Mar 5 19:10:52 MST 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@system tmp]# cat /etc/redhat-release
ClearOS release 7.2.0 (Final)
[root@system tmp]# cat /etc/clearos-release
ClearOS release 7.2.0 (Final) -
Accepted Answer
Try removing all rpms with 'presto' and 'delta' in their names.
presto is designed to work with delta so that during the installation of an updated rpm, only the changed files are downloaded to save bandwidth.
yum will work OK without them, it will then just download the entire updated package...
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »