Bug 228753 - Yum Metadata Checksum Problem
Yum Metadata Checksum Problem
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: yum-metadata-parser (Show other bugs)
6
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-14 15:10 EST by Glenn Rottingen
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-19 18:08:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Glenn Rottingen 2007-02-14 15:10:42 EST
Description of problem:[root@localhost ~]# yum clean metadata
Loading "installonlyn" plugin
18 metadata files removed
[root@localhost ~]# yum -y update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
dries                     100% |=========================|  951 B    00:00     
core                      100% |=========================| 1.1 kB    00:00     
updates                   100% |=========================| 1.2 kB    00:00     
freshrpms                 100% |=========================|  951 B    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 785 kB    00:01     
primary.xml.gz            100% |=========================| 1.0 MB    00:01     
primary.xml.gz            100% |=========================| 529 kB    00:19     
primary.xml.gz            100% |=========================|  63 kB    00:01     
primary.xml.gz            100% |=========================| 1.8 MB    00:03     
ftp://fedora.mirrors.tds.net/pub/fedora-core-extras/6/x86_64/repodata/primary.xml.gz:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 1.8 MB    00:05     
http://redhat.download.fedoraproject.org/pub/fedora/linux/extras/6/x86_64/repodata/primary.xml.gz:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 1.8 MB    00:33     
ftp://mirror.newnanutilities.org/pub/fedora/linux/extras/6/x86_64/repodata/primary.xml.gz:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 1.8 MB    00:03     
http://download.fedora.redhat.com/pub/fedora/linux/extras/6/x86_64/repodata/primary.xml.gz:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 1.8 MB    00:05     
http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/extras/6/x86_64/repodata/primary.xml.gz:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 1.8 MB    00:07     
ftp://fedora.bu.edu/fedora/extras/6/x86_64/repodata/primary.xml.gz: [Errno -1]
Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 1.8 MB    00:03     
http://mirrors.kernel.org/fedora/extras/6/x86_64/repodata/primary.xml.gz: [Errno
-1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 1.8 MB    00:40     
extras    : ################################################## 5817/5817
No Packages marked for Update/Obsoletion
[root@localhost ~]# 



Version-Release number of selected component (if applicable):


How reproducible:  Happend on two different systems.


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Fred New 2007-03-17 11:16:35 EDT
I assume this is because some repositories aren't current. I'm experiencing the
same problem with Fedora 7 test 2. This message often repeats more than 10
times, meaning that I've waited for 15-25 megabytes of wasted downloads.

As an enhancement, would it be possible to just download the checksum of the
file before downloading megabytes of data? That is, could we store a
primary.xml.gz.sha1 file on the repository so that yum could intelligently
decide not to download primary.xml.gz?
Comment 2 Jeremy Katz 2007-03-19 18:08:29 EDT
The right answer here is to improve the mirror infrastructure so that you don't
get pointed at out of date mirrors at all.  mdomsch is working on this with the
MirrorManager bits and hopefully that will be in use RSN.  Also, there's a
problem with the backend storage that mirrors sync from currently which is
making syncs a bit slower and exacerbating this.

Note You need to log in before you can comment on or make changes to this bug.