[users] Metadata broken for *at least* rh9
dag at wieers.com
Thu May 8 18:39:04 CEST 2008
On Thu, 8 May 2008, Ralph Angenendt wrote:
> I just talked to skvidal about
> <https://bugzilla.redhat.com/show_bug.cgi?id=444882> - looks like the
> metadata in *at least* the rh9 repository is broken (no, I know that rh9
> isn't rawhide9, but that doesn't matter ...).
The metadata is not broken, yum is broken.
Seth is the sole reason why we have this situation. The createrepo
metadata was not designed with backward compatibility in mind and therefor
does not understand the situation where the epoch is unset (which is the
case for older distributions).
Since repomd metadata is useful for older distributions createrepo has an
option (-n) to be build with epoch being set to None. Patched by Panu
to support apt+repomd. Sadly yum cannot handle that (which is a bug with
yum) and repoview cannot handle that either.
I reported this problem before, I even send in a patch for repoview to
handle this case. Never heard from the developers again, probably because
they are not interested in anything other than FCX and FCX-1
The simple fact is that on RH9 (and lower) you either need to use a yum
with yum-arch metadata, or apt with repomd metadata.
The reason I have repomd metadata is because apt can use it correctly on
RH9 and older distributions allowing to use the same update tool on old
and new distributions, something yum-users can only dream of.
Seth's remark about my comments in the metadata do not affect the
generated metadata at all. The metadata is just re-compressed in an
rsyncable format so that mirrors do not have to redownload the complete
metadata for just a single update. This was a feature request I made in
bugzilla and was closed by Seth as well.
The comment is just so people know that the hashes have been recreated
after the recompression and do not support Seth's case at all.
-- 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