Metadata file does not match checksum

Kam Leo kam.leo at gmail.com
Thu May 4 05:21:17 UTC 2006


On 5/3/06, Kam Leo <kam.leo at gmail.com> wrote:
> On 5/3/06, jerryw4386 at netscape.net <jerryw4386 at netscape.net> wrote:
> > Now it is doing the same thing on my laptop[ I give up]
> >  you know i did have a full head of hair now i am bold
> >  looks like i will be using windoeszzzzzzzzzzzz
> >  some time using Fedora core 5???????????
> >
> >  root at localhost ~]# yum clean metadata
> >  Loading "installonlyn" plugin
> >  Loading "fastestmirror" plugin
> >  Cleaning up xml metadata
> >  14 metadata files removed
> >  [root at localhost ~]# yum clean packages
> >  Loading "installonlyn" plugin
> >  Loading "fastestmirror" plugin
> >  Cleaning up Packages
> >  0 packages removed
> >  [root at localhost ~]# yum -y update
> >  Loading "installonlyn" plugin
> >  Loading "fastestmirror" plugin
> >  Setting up Update Process
> >  Setting up repositories
> >  livna [1/4]
> >  livna 100% |=========================| 951 B 00:00
> >  updates [2/4]
> >
> > http://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/updates/
> > 5/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (101,
> > 'Network is unreachable')>
> >  Trying other mirror.
> >  updates 100% |=========================| 951 B 00:00
> >  core [3/4]
> >   //var/cache/yum/core/repomd.xml:50: parser error : Opening and ending
> > tag mismatch: img line 48 and div
> >  </div>
> >  ^
> >   //var/cache/yum/core/repomd.xml:51: parser error : Opening and ending
> > tag mismatch: img line 45 and div
> >  </div>
> >  ^
> >   //var/cache/yum/core/repomd.xml:73: parser error : Entity 'nbsp' not
> > defined
> >  <div id="border"> </div>
> >  ^
> >   //var/cache/yum/core/repomd.xml:79: parser error : Entity 'copy' not
> > defined
> >   <span class="text">Copyright © 2004 NGI S.p.A. | All rights
> > reserved</s
> >  ^
> >   //var/cache/yum/core/repomd.xml:85: parser error : Opening and ending
> > tag mismatch: div line 10 and body
> >  </body>
> >  ^
> >   //var/cache/yum/core/repomd.xml:86: parser error : Opening and ending
> > tag mismatch: body line 9 and html
> >  </html>
> >  ^
> >   //var/cache/yum/core/repomd.xml:87: parser error : Premature end of
> > data in tag html line 3
> >
> >  ^
> >  core 100% |=========================| 2.7 kB 00:00
> >   http://fedora.ngi.it/5/i386/os/repodata/repomd.xml: [Errno -1] Error
> > importing repomd.xml for core: Error: could not parse file
> > //var/cache/yum/core/repomd.xml
> >  Trying other mirror.
> >  core 100% |=========================| 1.1 kB 00:00
> >  extras [4/4]
> >
> > http://mirror.clarkson.edu/pub/distributions/fedora/linux/extras/5/i386/r
> > epodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Thu, 04 May 2006
> > 03:43:52 GMT
> >  Server: Apache/2.0.52 (Red Hat)
> >  Content-Length: 348
> >  Connection: close
> >  Content-Type: text/html; charset=iso-8859-1
> >  Trying other mirror.
> >  extras 100% |=========================| 1.1 kB 00:00
> >  Loading mirror speeds from cached hostfile
> >  Reading repository metadata in from local files
> >  primary.xml.gz 100% |=========================| 160 kB 00:01
> >  primary.xml.gz 100% |=========================| 296 kB 00:02
> >
> > ftp://mirror.newnanutilities.org/pub/fedora/linux/core/updates/5/i386/rep
> > odata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 298 kB 00:28
> >
> > http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/5/i386/repodat
> > a/primary.xml.gz: [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 218 kB 00:01
> >
> > http://fedora.mirrors.tds.net/pub/fedora-core/updates/5/i386/repodata/pri
> > mary.xml.gz: [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 298 kB 00:02
> >
> > ftp://fedora.bu.edu/fedora/core/updates/5/i386/repodata/primary.xml.gz:
> > [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 298 kB 00:47
> >
> > http://mirror.hiwaay.net/pub/fedora/linux/core/updates/5/i386/repodata/pr
> > imary.xml.gz: [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 249 kB 00:01
> >  primary.xml.gz 100% |=========================| 767 kB 00:05
> >  primary.xml.gz 100% |=========================| 1.0 MB 00:08
> >
> > http://download.fedora.redhat.com/pub/fedora/linux/extras/5/i386/repodata
> > /primary.xml.gz: [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 787 kB 00:05
> >
> > ftp://mirror.newnanutilities.org/pub/fedora/linux/extras/5/i386/repodata/
> > primary.xml.gz: [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 1.0 MB 01:00
> >
> > http://mirror.linux.duke.edu/pub/fedora/linux/extras/5/i386/repodata/prim
> > ary.xml.gz: [Errno -1] Metadata file does not match checksum
> >  Trying other mirror.
> >  primary.xml.gz 100% |=========================| 958 kB 00:06
> >  extras : ################################################## 2670/2670
> >  Added 129 new packages, deleted 468 old in 5.19 seconds
> >  No Packages marked for Update/Obsoletion
> >  [root at localhost ~]#
> >
>
> As I said before there is nothing wrong with your system. Yum is
> working properly. Your yum settings, however, are dependent upon the
> use of a list of mirrors (mirrorlist). Obviously, where you are
> located the mirrors selected are not communicating reliably with your
> system. The quick fix is to edit /etc/yum.repos.d/fedora-updates.repo
> like so:
>
> $cat /etc/yum.repos.d/fedora-extras.repo
> [extras]
> name=Fedora Extras $releasever - $basearch
> baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
> #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
> enabled=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
> gpgcheck=1
>
> [snip]
>
> Notice that I removed the "#" in front of "baseurl" and added one in
> front of "mirrorlist". This connects you to the main Extras server and
> should work for you. It may be slow because of heavy traffic. If you
> need a faster mirror go to
> http://fedora.redhat.com/Download/mirrors.html and select one. Visit
> the site using your web browser to get the URL specifics for the FC5
> update files.
>

I forgot: Do the same for /etc/yum.repos.d/fedora-updates.repo.

All of this will be for naught if your internet connection is the
pits. How are your systems attached to the internet? Test your
broadband connection at http://www.dslreports.com/stest




More information about the fedora-list mailing list