Valery Mitsyn wrote:
On Mon, 22 Sep 2008, Troy Dawson wrote:

That's very odd.
Did you do a
  yum clean all

Yes, sure.

If so, and it's still not working, can you send me the output of

 yum -d 10 -e 10 update

It's probrubly alot of output, so if you can just send it to me that will be
ok.

  It's neither big nor informative from my point of view,
i've attached the output.

  Funny things, I've solved my problem by:
  - removing errata/SL/RPMS from the local mirror;
  - mirroring SL47 again.
  I don't have a proxy. I do mirror by ftp and all repos
also defineded with baseurl to ftp on the local server.
I've run old but useful perl script - mirror, it doesn't do
real mirror in case the size and mod time of a file is the same,
looks like that was the problem.

  So far so good, but I'm worry why yum does not took
primary.xml.gz from ftp.scientificlinux.org in case
the first from my local mirror was bad? It seems to me,
this is a problem in yum code.
  I'll try to reproduce the case when first baseurl have
a problem w/ primary.xml.gz but second isn't.


Well, that much I do know because I looked at your repository.
It looks like you are downloading the rpm's, and then rebuilding the yum repositories. If that is the case, then the primary.xml.gz on your repository would not match the md5sum of the on in ftp.scientificlinux.org. Probably only the date stamp is different, but it still would not match.
Troy

Thanks
Troy

Valery Mitsyn wrote:
 On Mon, 22 Sep 2008, Troy Dawson wrote:

 Is this still happening?
 Unfortunately, yes, it's still the same.

 Trying other mirror.
 
ftp://ftp.scientificlinux.org/linux/scientific/4x/x86_64/errata/SL/RPMS/repodata/primary.xml.gz:
 [Errno -1] Metadata file does not match checksum
 Trying other mirror.
 Error: failure: repodata/primary.xml.gz from sl-errata: [Errno 256] No
 more mirrors to try.

 It looks like everything is correct now.

 Troy

 Valery Mitsyn wrote:
  Hello,

  using our local mirror, i've faced a problem in yum upgrade.
  It's look like, there are outdated repodata/primary.xml.gz
  in 47/*/errata/SL/RPMS/ subtrees.

  yum clean all
  yum upgrade

  complain about
  ftp://l4u.jinr.ru/pub/SL/4x/x86_64/errata/SL/RPMS/repodata/primary.xml.gz:
  [Errno -1] Metadata file does not match checksum
  Trying other mirror.
  primary.xml.gz            100% |=========================| 2.7 kB
  00:00
  
ftp://ftp.scientificlinux.org/linux/scientific/4x/x86_64/errata/SL/RPMS/repodata/primary.xml.gz:
  [Errno -1] Metadata file does not match checksum
  Trying other mirror.
  Error: failure: repodata/primary.xml.gz from sl-errata: [Errno 256]
  No
  more mirrors to try.

  I've tried to recreate repodata locally and this is solved the
  problem
  in our own local mirror.

  --
  Best regards,
    Valery Mitsyn

 --
 Best regards,
   Valery Mitsyn



--
Best regards,
  Valery Mitsyn



--
__________________________________________________
Troy Dawson  [EMAIL PROTECTED]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

Reply via email to