[Yum-devel] primary.xml rpm hash
christopher floess
skeptikos at gmail.com
Thu Apr 23 03:52:24 UTC 2009
Hi, I'm doing some research into the workings of yum, and one of the
things I'm stuck on is how the hash for a package is generated. As an
example, I took a look the information for nano-2.0.6-4.fc9.i386.rpm
In http://fedora.ifc.unam.mx/releases/10/Everything/i386/os/repodata/primary.xml
.gz this rpm has a sha hash of
7373fda2bbc183c01afe9ccc78411fec9fe52833. However, when I run sha1sum
on the file I get fec49e69aaf31cac8d7f0d7759f70f1d95355bfa and when I
get sha256sum on it, I get
96f4d11cf5cd66748e47f83639dae1e1f638792757944e32eeb810f3553ad, so I'm
wondering how that number was computed.
Did I get a corrupted rpm?
Thanks ~ Chris
More information about the Yum-devel
mailing list