[users] Metadata problems
Dag Wieers
dag at wieers.com
Sat Dec 15 14:20:23 CET 2007
On Sat, 15 Dec 2007, Nils Breunese (Lemonbit) wrote:
> Max Kanat-Alexander wrote:
>
> > On Fri, 14 Dec 2007 18:48:41 +0100 (CET) Bogdan Costescu
> > <Bogdan.Costescu at iwr.uni-heidelberg.de> wrote:
> > > ... and Dag wrote at least once that he would like to know which
> > > mirror is in this inconsistent state. If this info is not provided by
> > > the users, he can't attempt to do much... So could you please specify
> > > which mirror was used ?
> >
> > All of them. I'm using the mirrorlist file.
>
> I'm seeing the same quite often.
Guys,
The problem is that yum downloads the repomd.xml file from _one_ of the
mirrors. This file contains checksums for each repomd file (other.xml.gz,
filelist.xml.gz and primary.xml.gz)
http://apt.sw.be/redhat/el5/en/i386/dag/repodata/repomd.xml
The problem is that yum downloads this file from one of the mirrors in the
mirrorlist, and then compares the checksum with those other metadata files
it downloads from other mirrors.
This is completely braindead unless your mirrors are in sync all the time
(which is not the case with my mirrors because I do not manage them). In
fact I manage no mirror at all, I have no influence how often they sync.
Hell I do not even know when they sync.
In other words, the mirrorlist is probably only useful when apt.sw.be is
down.
But the way this is written in Yum is braindead anyway. It could at least
verify the timestamps between repomd.xml files from the different mirrors
it is using and drop the ones that are outdated. Mixing mirrors that are
not in sync is braindead.
PS I am not a fan of yum and am not interested in debugging yum problems.
--
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[Any errors in spelling, tact or fact are transmission errors]
More information about the users
mailing list