SCIENTIFIC-LINUX-USERS Archives

September 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Valery Mitsyn <[log in to unmask]>
Reply To:
Valery Mitsyn <[log in to unmask]>
Date:
Mon, 22 Sep 2008 20:35:20 +0400
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (134 lines)
On Mon, 22 Sep 2008, Troy Dawson wrote:

> 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.

  Yes, but only recently, because there was an error (at my site in the 
end). And after rebuild my local repo yum run fine from that repo.

> 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.

  But in case I've try to run yum just after mirroring to the local
repo without rebuilding, the error in primary.xml.gz is there
from both my local repo and from original site ftp.scientificlinux.org.
I was under impession that the primary.xml.gz should be reread
from the second Baseurl - ftp.scientificlinux.org.

  So, as a conclusion, yum does not read primary.xml.gz from the
second and other Baseurls, only from the first one in the *.repo.
Am I right?

> 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
>> 
>
>
>

-- 
Best regards,
  Valery Mitsyn

ATOM RSS1 RSS2